diff options
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2832.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h index 785a466eb065..fefba0e9ba30 100644 --- a/drivers/media/dvb-frontends/rtl2832.h +++ b/drivers/media/dvb-frontends/rtl2832.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef RTL2832_H | 21 | #ifndef RTL2832_H |
22 | #define RTL2832_H | 22 | #define RTL2832_H |
23 | 23 | ||
24 | #include <linux/kconfig.h> | ||
24 | #include <linux/dvb/frontend.h> | 25 | #include <linux/dvb/frontend.h> |
25 | 26 | ||
26 | struct rtl2832_config { | 27 | struct rtl2832_config { |
@@ -54,8 +55,7 @@ struct rtl2832_config { | |||
54 | u8 tuner; | 55 | u8 tuner; |
55 | }; | 56 | }; |
56 | 57 | ||
57 | #if defined(CONFIG_DVB_RTL2832) || \ | 58 | #if IS_ENABLED(CONFIG_DVB_RTL2832) |
58 | (defined(CONFIG_DVB_RTL2832_MODULE) && defined(MODULE)) | ||
59 | extern struct dvb_frontend *rtl2832_attach( | 59 | extern struct dvb_frontend *rtl2832_attach( |
60 | const struct rtl2832_config *cfg, | 60 | const struct rtl2832_config *cfg, |
61 | struct i2c_adapter *i2c | 61 | struct i2c_adapter *i2c |