aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0900.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/stv0900.h')
-rw-r--r--drivers/media/dvb-frontends/stv0900.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/stv0900.h b/drivers/media/dvb-frontends/stv0900.h
index 91c7ee8b2313..e2a6dc69ecb4 100644
--- a/drivers/media/dvb-frontends/stv0900.h
+++ b/drivers/media/dvb-frontends/stv0900.h
@@ -26,6 +26,7 @@
26#ifndef STV0900_H 26#ifndef STV0900_H
27#define STV0900_H 27#define STV0900_H
28 28
29#include <linux/kconfig.h>
29#include <linux/dvb/frontend.h> 30#include <linux/dvb/frontend.h>
30#include "dvb_frontend.h" 31#include "dvb_frontend.h"
31 32
@@ -57,8 +58,7 @@ struct stv0900_config {
57 void (*set_lock_led)(struct dvb_frontend *fe, int offon); 58 void (*set_lock_led)(struct dvb_frontend *fe, int offon);
58}; 59};
59 60
60#if defined(CONFIG_DVB_STV0900) || (defined(CONFIG_DVB_STV0900_MODULE) \ 61#if IS_ENABLED(CONFIG_DVB_STV0900)
61 && defined(MODULE))
62extern struct dvb_frontend *stv0900_attach(const struct stv0900_config *config, 62extern struct dvb_frontend *stv0900_attach(const struct stv0900_config *config,
63 struct i2c_adapter *i2c, int demod); 63 struct i2c_adapter *i2c, int demod);
64#else 64#else