aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/tuners/fc0012.h
diff options
context:
space:
mode:
authorGravatar Mauro Carvalho Chehab <mchehab@redhat.com> 2013-03-21 16:24:09 -0300
committerGravatar Mauro Carvalho Chehab <mchehab@redhat.com> 2013-03-23 09:22:06 -0300
commit9dc353c67cbe3150d3a6b293662d5a33028adec4 (patch)
tree5b5ec2847eeb5244692365f2e54e649fc41f87d4 /drivers/media/tuners/fc0012.h
parent[media] dvb-frontends: use IS_ENABLED (diff)
downloadlinux-9dc353c67cbe3150d3a6b293662d5a33028adec4.tar.gz
linux-9dc353c67cbe3150d3a6b293662d5a33028adec4.tar.bz2
linux-9dc353c67cbe3150d3a6b293662d5a33028adec4.zip
[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/fc0012.h')
-rw-r--r--drivers/media/tuners/fc0012.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0012.h b/drivers/media/tuners/fc0012.h
index 54508fcc3469..1d08057e3275 100644
--- a/drivers/media/tuners/fc0012.h
+++ b/drivers/media/tuners/fc0012.h
@@ -21,6 +21,7 @@
#ifndef _FC0012_H_
#define _FC0012_H_
+#include <linux/kconfig.h>
#include "dvb_frontend.h"
#include "fc001x-common.h"
@@ -48,8 +49,7 @@ struct fc0012_config {
bool clock_out;
};
-#if defined(CONFIG_MEDIA_TUNER_FC0012) || \
- (defined(CONFIG_MEDIA_TUNER_FC0012_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0012)
extern struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c,
const struct fc0012_config *cfg);