aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/af9013.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/af9013.h')
-rw-r--r--drivers/media/dvb-frontends/af9013.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/af9013.h b/drivers/media/dvb-frontends/af9013.h
index dc837d91327a..09273b2cd310 100644
--- a/drivers/media/dvb-frontends/af9013.h
+++ b/drivers/media/dvb-frontends/af9013.h
@@ -25,6 +25,7 @@
25#ifndef AF9013_H 25#ifndef AF9013_H
26#define AF9013_H 26#define AF9013_H
27 27
28#include <linux/kconfig.h>
28#include <linux/dvb/frontend.h> 29#include <linux/dvb/frontend.h>
29 30
30/* AF9013/5 GPIOs (mostly guessed) 31/* AF9013/5 GPIOs (mostly guessed)
@@ -102,8 +103,7 @@ struct af9013_config {
102 u8 gpio[4]; 103 u8 gpio[4];
103}; 104};
104 105
105#if defined(CONFIG_DVB_AF9013) || \ 106#if IS_ENABLED(CONFIG_DVB_AF9013)
106 (defined(CONFIG_DVB_AF9013_MODULE) && defined(MODULE))
107extern struct dvb_frontend *af9013_attach(const struct af9013_config *config, 107extern struct dvb_frontend *af9013_attach(const struct af9013_config *config,
108 struct i2c_adapter *i2c); 108 struct i2c_adapter *i2c);
109#else 109#else