diff options
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2832.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h index 785a466eb065..91b2dcf5a6ea 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 { |
@@ -51,11 +52,11 @@ struct rtl2832_config { | |||
51 | #define RTL2832_TUNER_FC0012 0x26 | 52 | #define RTL2832_TUNER_FC0012 0x26 |
52 | #define RTL2832_TUNER_E4000 0x27 | 53 | #define RTL2832_TUNER_E4000 0x27 |
53 | #define RTL2832_TUNER_FC0013 0x29 | 54 | #define RTL2832_TUNER_FC0013 0x29 |
55 | #define RTL2832_TUNER_R820T 0x2a | ||
54 | u8 tuner; | 56 | u8 tuner; |
55 | }; | 57 | }; |
56 | 58 | ||
57 | #if defined(CONFIG_DVB_RTL2832) || \ | 59 | #if IS_ENABLED(CONFIG_DVB_RTL2832) |
58 | (defined(CONFIG_DVB_RTL2832_MODULE) && defined(MODULE)) | ||
59 | extern struct dvb_frontend *rtl2832_attach( | 60 | extern struct dvb_frontend *rtl2832_attach( |
60 | const struct rtl2832_config *cfg, | 61 | const struct rtl2832_config *cfg, |
61 | struct i2c_adapter *i2c | 62 | struct i2c_adapter *i2c |