diff options
Diffstat (limited to 'drivers/media/tuners/fc0012.h')
-rw-r--r-- | drivers/media/tuners/fc0012.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0012.h b/drivers/media/tuners/fc0012.h index 54508fcc3469..1d08057e3275 100644 --- a/drivers/media/tuners/fc0012.h +++ b/drivers/media/tuners/fc0012.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef _FC0012_H_ | 21 | #ifndef _FC0012_H_ |
22 | #define _FC0012_H_ | 22 | #define _FC0012_H_ |
23 | 23 | ||
24 | #include <linux/kconfig.h> | ||
24 | #include "dvb_frontend.h" | 25 | #include "dvb_frontend.h" |
25 | #include "fc001x-common.h" | 26 | #include "fc001x-common.h" |
26 | 27 | ||
@@ -48,8 +49,7 @@ struct fc0012_config { | |||
48 | bool clock_out; | 49 | bool clock_out; |
49 | }; | 50 | }; |
50 | 51 | ||
51 | #if defined(CONFIG_MEDIA_TUNER_FC0012) || \ | 52 | #if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0012) |
52 | (defined(CONFIG_MEDIA_TUNER_FC0012_MODULE) && defined(MODULE)) | ||
53 | extern struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, | 53 | extern struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, |
54 | struct i2c_adapter *i2c, | 54 | struct i2c_adapter *i2c, |
55 | const struct fc0012_config *cfg); | 55 | const struct fc0012_config *cfg); |