aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda10048.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/tda10048.h')
-rw-r--r--drivers/media/dvb-frontends/tda10048.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda10048.h b/drivers/media/dvb-frontends/tda10048.h
index fb2ef5ac9487..5e7bf4e47cb3 100644
--- a/drivers/media/dvb-frontends/tda10048.h
+++ b/drivers/media/dvb-frontends/tda10048.h
@@ -22,6 +22,7 @@
22#ifndef TDA10048_H 22#ifndef TDA10048_H
23#define TDA10048_H 23#define TDA10048_H
24 24
25#include <linux/kconfig.h>
25#include <linux/dvb/frontend.h> 26#include <linux/dvb/frontend.h>
26#include <linux/firmware.h> 27#include <linux/firmware.h>
27 28
@@ -72,8 +73,7 @@ struct tda10048_config {
72 u8 pll_n; 73 u8 pll_n;
73}; 74};
74 75
75#if defined(CONFIG_DVB_TDA10048) || \ 76#if IS_ENABLED(CONFIG_DVB_TDA10048)
76 (defined(CONFIG_DVB_TDA10048_MODULE) && defined(MODULE))
77extern struct dvb_frontend *tda10048_attach( 77extern struct dvb_frontend *tda10048_attach(
78 const struct tda10048_config *config, 78 const struct tda10048_config *config,
79 struct i2c_adapter *i2c); 79 struct i2c_adapter *i2c);