diff options
Diffstat (limited to 'drivers/media/tuners/xc5000.h')
-rw-r--r-- | drivers/media/tuners/xc5000.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/xc5000.h b/drivers/media/tuners/xc5000.h index b1a547494625..7245cae19f0c 100644 --- a/drivers/media/tuners/xc5000.h +++ b/drivers/media/tuners/xc5000.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #ifndef __XC5000_H__ | 22 | #ifndef __XC5000_H__ |
23 | #define __XC5000_H__ | 23 | #define __XC5000_H__ |
24 | 24 | ||
25 | #include <linux/kconfig.h> | ||
25 | #include <linux/firmware.h> | 26 | #include <linux/firmware.h> |
26 | 27 | ||
27 | struct dvb_frontend; | 28 | struct dvb_frontend; |
@@ -56,8 +57,7 @@ struct xc5000_config { | |||
56 | * it's passed back to a bridge during tuner_callback(). | 57 | * it's passed back to a bridge during tuner_callback(). |
57 | */ | 58 | */ |
58 | 59 | ||
59 | #if defined(CONFIG_MEDIA_TUNER_XC5000) || \ | 60 | #if IS_ENABLED(CONFIG_MEDIA_TUNER_XC5000) |
60 | (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE)) | ||
61 | extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, | 61 | extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, |
62 | struct i2c_adapter *i2c, | 62 | struct i2c_adapter *i2c, |
63 | const struct xc5000_config *cfg); | 63 | const struct xc5000_config *cfg); |