diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 16:11:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-23 09:03:59 -0300 |
commit | 782d8b743aad7dfffa4c01e9e8b57fd35247d70a (patch) | |
tree | f5ac388982dc40592ff8da91f94f3b6fe69a152c /drivers/media/dvb-frontends/tda18271c2dd.h | |
parent | 54d80904b4c1f7aa1d569d07ca3e62fba0daf3a2 (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/tda18271c2dd.h')
-rw-r--r-- | drivers/media/dvb-frontends/tda18271c2dd.h | 6 |
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 |