diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 15:24:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-23 08:22:06 -0400 |
commit | 9dc353c67cbe3150d3a6b293662d5a33028adec4 (patch) | |
tree | 5b5ec2847eeb5244692365f2e54e649fc41f87d4 /drivers/media/tuners/fc0011.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/fc0011.h')
-rw-r--r-- | drivers/media/tuners/fc0011.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0011.h b/drivers/media/tuners/fc0011.h index 0ee581f122d2..43ec893a6877 100644 --- a/drivers/media/tuners/fc0011.h +++ b/drivers/media/tuners/fc0011.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef LINUX_FC0011_H_ | 1 | #ifndef LINUX_FC0011_H_ |
2 | #define LINUX_FC0011_H_ | 2 | #define LINUX_FC0011_H_ |
3 | 3 | ||
4 | #include <linux/kconfig.h> | ||
4 | #include "dvb_frontend.h" | 5 | #include "dvb_frontend.h" |
5 | 6 | ||
6 | 7 | ||
@@ -22,8 +23,7 @@ enum fc0011_fe_callback_commands { | |||
22 | FC0011_FE_CALLBACK_RESET, | 23 | FC0011_FE_CALLBACK_RESET, |
23 | }; | 24 | }; |
24 | 25 | ||
25 | #if defined(CONFIG_MEDIA_TUNER_FC0011) ||\ | 26 | #if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0011) |
26 | defined(CONFIG_MEDIA_TUNER_FC0011_MODULE) | ||
27 | struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, | 27 | struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, |
28 | struct i2c_adapter *i2c, | 28 | struct i2c_adapter *i2c, |
29 | const struct fc0011_config *config); | 29 | const struct fc0011_config *config); |