diff options
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2830.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2830.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830.h b/drivers/media/dvb-frontends/rtl2830.h index f4349a1fc03e..3313847fb0be 100644 --- a/drivers/media/dvb-frontends/rtl2830.h +++ b/drivers/media/dvb-frontends/rtl2830.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef RTL2830_H | 21 | #ifndef RTL2830_H |
22 | #define RTL2830_H | 22 | #define RTL2830_H |
23 | 23 | ||
24 | #include <linux/kconfig.h> | ||
24 | #include <linux/dvb/frontend.h> | 25 | #include <linux/dvb/frontend.h> |
25 | 26 | ||
26 | struct rtl2830_config { | 27 | struct rtl2830_config { |
@@ -59,8 +60,7 @@ struct rtl2830_config { | |||
59 | u8 agc_targ_val; | 60 | u8 agc_targ_val; |
60 | }; | 61 | }; |
61 | 62 | ||
62 | #if defined(CONFIG_DVB_RTL2830) || \ | 63 | #if IS_ENABLED(CONFIG_DVB_RTL2830) |
63 | (defined(CONFIG_DVB_RTL2830_MODULE) && defined(MODULE)) | ||
64 | extern struct dvb_frontend *rtl2830_attach( | 64 | extern struct dvb_frontend *rtl2830_attach( |
65 | const struct rtl2830_config *config, | 65 | const struct rtl2830_config *config, |
66 | struct i2c_adapter *i2c | 66 | struct i2c_adapter *i2c |