diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 15:29:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-23 08:33:30 -0400 |
commit | 028c70ff42783509d3a7c7fa0faf900446a2657a (patch) | |
tree | ad14374463db97d2327a83426b8274ba4ad1246d /drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h | |
parent | 1c59390b3b551524d4c8415bd39c9c788705c7c0 (diff) |
[media] dvb-usb/dvb-usb-v2: use IS_ENABLED
Instead of checking everywhere there for 3 symbols, use instead
IS_ENABLED macro.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h b/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h index 432706ae5274..3f3f8bfd190b 100644 --- a/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h +++ b/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef __MXL111SF_DEMOD_H__ | 21 | #ifndef __MXL111SF_DEMOD_H__ |
22 | #define __MXL111SF_DEMOD_H__ | 22 | #define __MXL111SF_DEMOD_H__ |
23 | 23 | ||
24 | #include <linux/kconfig.h> | ||
24 | #include "dvb_frontend.h" | 25 | #include "dvb_frontend.h" |
25 | #include "mxl111sf.h" | 26 | #include "mxl111sf.h" |
26 | 27 | ||
@@ -31,8 +32,7 @@ struct mxl111sf_demod_config { | |||
31 | struct mxl111sf_reg_ctrl_info *ctrl_reg_info); | 32 | struct mxl111sf_reg_ctrl_info *ctrl_reg_info); |
32 | }; | 33 | }; |
33 | 34 | ||
34 | #if defined(CONFIG_DVB_USB_MXL111SF) || \ | 35 | #if IS_ENABLED(CONFIG_DVB_USB_MXL111SF) |
35 | (defined(CONFIG_DVB_USB_MXL111SF_MODULE) && defined(MODULE)) | ||
36 | extern | 36 | extern |
37 | struct dvb_frontend *mxl111sf_demod_attach(struct mxl111sf_state *mxl_state, | 37 | struct dvb_frontend *mxl111sf_demod_attach(struct mxl111sf_state *mxl_state, |
38 | struct mxl111sf_demod_config *cfg); | 38 | struct mxl111sf_demod_config *cfg); |