Skip to content

Commit e4faa09

Browse files
committed
media: dvb headers: make checkpatch happier
Adjust dvb ca.h, dmx.h and frontend.h in order to make checkpatch happier. Now, it only complains about the typedefs, and those are there just to provide backward userspace compatibility. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent da68249 commit e4faa09

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

include/uapi/linux/dvb/ca.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct ca_descr {
139139
#define CA_SEND_MSG _IOW('o', 133, struct ca_msg)
140140
#define CA_SET_DESCR _IOW('o', 134, struct ca_descr)
141141

142-
#if !defined (__KERNEL__)
142+
#if !defined(__KERNEL__)
143143

144144
/* This is needed for legacy userspace support */
145145
typedef struct ca_slot_info ca_slot_info_t;

include/uapi/linux/dvb/dmx.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ struct dmx_sct_filter_params {
189189
* @pes_type: Type of the pes filter, as specified by &enum dmx_pes_type.
190190
* @flags: Demux PES flags.
191191
*/
192-
struct dmx_pes_filter_params
193-
{
192+
struct dmx_pes_filter_params {
194193
__u16 pid;
195194
enum dmx_input input;
196195
enum dmx_output output;
@@ -221,7 +220,7 @@ struct dmx_stc {
221220
#define DMX_ADD_PID _IOW('o', 51, __u16)
222221
#define DMX_REMOVE_PID _IOW('o', 52, __u16)
223222

224-
#if !defined (__KERNEL__)
223+
#if !defined(__KERNEL__)
225224

226225
/* This is needed for legacy userspace support */
227226
typedef enum dmx_output dmx_output_t;

include/uapi/linux/dvb/frontend.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ struct dtv_properties {
907907
#define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
908908
#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
909909

910-
#if defined(__DVB_CORE__) || !defined (__KERNEL__)
910+
#if defined(__DVB_CORE__) || !defined(__KERNEL__)
911911

912912
/*
913913
* DEPRECATED: Everything below is deprecated in favor of DVBv5 API
@@ -982,8 +982,8 @@ struct dvb_ofdm_parameters {
982982
};
983983

984984
struct dvb_frontend_parameters {
985-
__u32 frequency; /* (absolute) frequency in Hz for DVB-C/DVB-T/ATSC */
986-
/* intermediate frequency in kHz for DVB-S */
985+
__u32 frequency; /* (absolute) frequency in Hz for DVB-C/DVB-T/ATSC */
986+
/* intermediate frequency in kHz for DVB-S */
987987
fe_spectral_inversion_t inversion;
988988
union {
989989
struct dvb_qpsk_parameters qpsk; /* DVB-S */

0 commit comments

Comments
 (0)