diff options
Diffstat (limited to 'drivers/media/dvb-frontends/stv6110.h')
-rw-r--r-- | drivers/media/dvb-frontends/stv6110.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/stv6110.h b/drivers/media/dvb-frontends/stv6110.h index fe71bba6a26e..8fa07e6a6745 100644 --- a/drivers/media/dvb-frontends/stv6110.h +++ b/drivers/media/dvb-frontends/stv6110.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #ifndef __DVB_STV6110_H__ | 25 | #ifndef __DVB_STV6110_H__ |
26 | #define __DVB_STV6110_H__ | 26 | #define __DVB_STV6110_H__ |
27 | 27 | ||
28 | #include <linux/kconfig.h> | ||
28 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
29 | #include "dvb_frontend.h" | 30 | #include "dvb_frontend.h" |
30 | 31 | ||
@@ -45,8 +46,7 @@ struct stv6110_config { | |||
45 | u8 clk_div; /* divisor value for the output clock */ | 46 | u8 clk_div; /* divisor value for the output clock */ |
46 | }; | 47 | }; |
47 | 48 | ||
48 | #if defined(CONFIG_DVB_STV6110) || (defined(CONFIG_DVB_STV6110_MODULE) \ | 49 | #if IS_ENABLED(CONFIG_DVB_STV6110) |
49 | && defined(MODULE)) | ||
50 | extern struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe, | 50 | extern struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe, |
51 | const struct stv6110_config *config, | 51 | const struct stv6110_config *config, |
52 | struct i2c_adapter *i2c); | 52 | struct i2c_adapter *i2c); |