aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2832.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 15:11:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 08:03:59 -0400
commit782d8b743aad7dfffa4c01e9e8b57fd35247d70a (patch)
treef5ac388982dc40592ff8da91f94f3b6fe69a152c /drivers/media/dvb-frontends/rtl2832.h
parent54d80904b4c1f7aa1d569d07ca3e62fba0daf3a2 (diff)
[media] dvb-frontends: use IS_ENABLED
Instead of checking everywhere there for 3 symbols, use instead IS_ENABLED macro. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h
index 785a466eb065..fefba0e9ba30 100644
--- a/drivers/media/dvb-frontends/rtl2832.h
+++ b/drivers/media/dvb-frontends/rtl2832.h
@@ -21,6 +21,7 @@
21#ifndef RTL2832_H 21#ifndef RTL2832_H
22#define RTL2832_H 22#define RTL2832_H
23 23
24#include <linux/kconfig.h>
24#include <linux/dvb/frontend.h> 25#include <linux/dvb/frontend.h>
25 26
26struct rtl2832_config { 27struct rtl2832_config {
@@ -54,8 +55,7 @@ struct rtl2832_config {
54 u8 tuner; 55 u8 tuner;
55}; 56};
56 57
57#if defined(CONFIG_DVB_RTL2832) || \ 58#if IS_ENABLED(CONFIG_DVB_RTL2832)
58 (defined(CONFIG_DVB_RTL2832_MODULE) && defined(MODULE))
59extern struct dvb_frontend *rtl2832_attach( 59extern struct dvb_frontend *rtl2832_attach(
60 const struct rtl2832_config *cfg, 60 const struct rtl2832_config *cfg,
61 struct i2c_adapter *i2c 61 struct i2c_adapter *i2c