summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/tda18271c2dd.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 23:11:54 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 16:03:59 +0400
commit782d8b743aad7dfffa4c01e9e8b57fd35247d70a (patch)
treef5ac388982dc40592ff8da91f94f3b6fe69a152c /drivers/media/dvb-frontends/tda18271c2dd.h
parent54d80904b4c1f7aa1d569d07ca3e62fba0daf3a2 (diff)
downloadlinux-782d8b743aad7dfffa4c01e9e8b57fd35247d70a.tar.xz
[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/tda18271c2dd.h')
-rw-r--r--drivers/media/dvb-frontends/tda18271c2dd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda18271c2dd.h b/drivers/media/dvb-frontends/tda18271c2dd.h
index 1389c74e12ce..dd84f7b69bec 100644
--- a/drivers/media/dvb-frontends/tda18271c2dd.h
+++ b/drivers/media/dvb-frontends/tda18271c2dd.h
@@ -1,7 +1,9 @@
#ifndef _TDA18271C2DD_H_
#define _TDA18271C2DD_H_
-#if defined(CONFIG_DVB_TDA18271C2DD) || (defined(CONFIG_DVB_TDA18271C2DD_MODULE) \
- && defined(MODULE))
+
+#include <linux/kconfig.h>
+
+#if IS_ENABLED(CONFIG_DVB_TDA18271C2DD)
struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, u8 adr);
#else