aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/s5h1411.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/s5h1411.h')
-rw-r--r--drivers/media/dvb-frontends/s5h1411.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/s5h1411.h b/drivers/media/dvb-frontends/s5h1411.h
index 45ec0f82989c..e4f56871f982 100644
--- a/drivers/media/dvb-frontends/s5h1411.h
+++ b/drivers/media/dvb-frontends/s5h1411.h
@@ -22,6 +22,7 @@
22#ifndef __S5H1411_H__ 22#ifndef __S5H1411_H__
23#define __S5H1411_H__ 23#define __S5H1411_H__
24 24
25#include <linux/kconfig.h>
25#include <linux/dvb/frontend.h> 26#include <linux/dvb/frontend.h>
26 27
27#define S5H1411_I2C_TOP_ADDR (0x32 >> 1) 28#define S5H1411_I2C_TOP_ADDR (0x32 >> 1)
@@ -68,8 +69,7 @@ struct s5h1411_config {
68 u8 status_mode; 69 u8 status_mode;
69}; 70};
70 71
71#if defined(CONFIG_DVB_S5H1411) || \ 72#if IS_ENABLED(CONFIG_DVB_S5H1411)
72 (defined(CONFIG_DVB_S5H1411_MODULE) && defined(MODULE))
73extern struct dvb_frontend *s5h1411_attach(const struct s5h1411_config *config, 73extern struct dvb_frontend *s5h1411_attach(const struct s5h1411_config *config,
74 struct i2c_adapter *i2c); 74 struct i2c_adapter *i2c);
75#else 75#else