diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 16:24:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-23 09:22:06 -0300 |
commit | 9dc353c67cbe3150d3a6b293662d5a33028adec4 (patch) | |
tree | 5b5ec2847eeb5244692365f2e54e649fc41f87d4 /drivers/media/tuners/tda18212.h | |
parent | 782d8b743aad7dfffa4c01e9e8b57fd35247d70a (diff) |
[media] tuners: 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/tuners/tda18212.h')
-rw-r--r-- | drivers/media/tuners/tda18212.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/tda18212.h b/drivers/media/tuners/tda18212.h index 9bd5da4aabb7..7e0d503baf05 100644 --- a/drivers/media/tuners/tda18212.h +++ b/drivers/media/tuners/tda18212.h @@ -21,6 +21,7 @@ #ifndef TDA18212_H #define TDA18212_H +#include <linux/kconfig.h> #include "dvb_frontend.h" struct tda18212_config { @@ -36,8 +37,7 @@ struct tda18212_config { u16 if_dvbc; }; -#if defined(CONFIG_MEDIA_TUNER_TDA18212) || \ - (defined(CONFIG_MEDIA_TUNER_TDA18212_MODULE) && defined(MODULE)) +#if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212) extern struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct tda18212_config *cfg); #else |