aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0288.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/stv0288.h')
-rw-r--r--drivers/media/dvb-frontends/stv0288.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/stv0288.h b/drivers/media/dvb-frontends/stv0288.h
index f2b53db0606d..a0bd93107154 100644
--- a/drivers/media/dvb-frontends/stv0288.h
+++ b/drivers/media/dvb-frontends/stv0288.h
@@ -27,6 +27,7 @@
27#ifndef STV0288_H 27#ifndef STV0288_H
28#define STV0288_H 28#define STV0288_H
29 29
30#include <linux/kconfig.h>
30#include <linux/dvb/frontend.h> 31#include <linux/dvb/frontend.h>
31#include "dvb_frontend.h" 32#include "dvb_frontend.h"
32 33
@@ -42,8 +43,7 @@ struct stv0288_config {
42 int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); 43 int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured);
43}; 44};
44 45
45#if defined(CONFIG_DVB_STV0288) || (defined(CONFIG_DVB_STV0288_MODULE) && \ 46#if IS_ENABLED(CONFIG_DVB_STV0288)
46 defined(MODULE))
47extern struct dvb_frontend *stv0288_attach(const struct stv0288_config *config, 47extern struct dvb_frontend *stv0288_attach(const struct stv0288_config *config,
48 struct i2c_adapter *i2c); 48 struct i2c_adapter *i2c);
49#else 49#else