diff options
Diffstat (limited to 'drivers/media/tuners/tda18212.h')
-rw-r--r-- | drivers/media/tuners/tda18212.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/tda18212.h b/drivers/media/tuners/tda18212.h index 9bd5da4aabb7..7e0d503baf05 100644 --- a/drivers/media/tuners/tda18212.h +++ b/drivers/media/tuners/tda18212.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef TDA18212_H | 21 | #ifndef TDA18212_H |
22 | #define TDA18212_H | 22 | #define TDA18212_H |
23 | 23 | ||
24 | #include <linux/kconfig.h> | ||
24 | #include "dvb_frontend.h" | 25 | #include "dvb_frontend.h" |
25 | 26 | ||
26 | struct tda18212_config { | 27 | struct tda18212_config { |
@@ -36,8 +37,7 @@ struct tda18212_config { | |||
36 | u16 if_dvbc; | 37 | u16 if_dvbc; |
37 | }; | 38 | }; |
38 | 39 | ||
39 | #if defined(CONFIG_MEDIA_TUNER_TDA18212) || \ | 40 | #if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212) |
40 | (defined(CONFIG_MEDIA_TUNER_TDA18212_MODULE) && defined(MODULE)) | ||
41 | extern struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, | 41 | extern struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, |
42 | struct i2c_adapter *i2c, struct tda18212_config *cfg); | 42 | struct i2c_adapter *i2c, struct tda18212_config *cfg); |
43 | #else | 43 | #else |