diff options
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r.h')
-rw-r--r-- | drivers/media/dvb-frontends/cxd2820r.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r.h b/drivers/media/dvb-frontends/cxd2820r.h index 6acc21c581c5..82b3d93718f8 100644 --- a/drivers/media/dvb-frontends/cxd2820r.h +++ b/drivers/media/dvb-frontends/cxd2820r.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #ifndef CXD2820R_H | 22 | #ifndef CXD2820R_H |
23 | #define CXD2820R_H | 23 | #define CXD2820R_H |
24 | 24 | ||
25 | #include <linux/kconfig.h> | ||
25 | #include <linux/dvb/frontend.h> | 26 | #include <linux/dvb/frontend.h> |
26 | 27 | ||
27 | #define CXD2820R_GPIO_D (0 << 0) /* disable */ | 28 | #define CXD2820R_GPIO_D (0 << 0) /* disable */ |
@@ -65,8 +66,7 @@ struct cxd2820r_config { | |||
65 | }; | 66 | }; |
66 | 67 | ||
67 | 68 | ||
68 | #if defined(CONFIG_DVB_CXD2820R) || \ | 69 | #if IS_ENABLED(CONFIG_DVB_CXD2820R) |
69 | (defined(CONFIG_DVB_CXD2820R_MODULE) && defined(MODULE)) | ||
70 | extern struct dvb_frontend *cxd2820r_attach( | 70 | extern struct dvb_frontend *cxd2820r_attach( |
71 | const struct cxd2820r_config *config, | 71 | const struct cxd2820r_config *config, |
72 | struct i2c_adapter *i2c, | 72 | struct i2c_adapter *i2c, |