aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/mxl5005s.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 16:24:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 09:22:06 -0300
commit9dc353c67cbe3150d3a6b293662d5a33028adec4 (patch)
tree5b5ec2847eeb5244692365f2e54e649fc41f87d4 /drivers/media/tuners/mxl5005s.h
parent[media] dvb-frontends: use IS_ENABLED (diff)
downloadlinux-dev-9dc353c67cbe3150d3a6b293662d5a33028adec4.tar.xz
linux-dev-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/mxl5005s.h')
-rw-r--r--drivers/media/tuners/mxl5005s.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/tuners/mxl5005s.h b/drivers/media/tuners/mxl5005s.h
index fc8a1ffc53b4..ae8db885ad87 100644
--- a/drivers/media/tuners/mxl5005s.h
+++ b/drivers/media/tuners/mxl5005s.h
@@ -23,6 +23,8 @@
#ifndef __MXL5005S_H
#define __MXL5005S_H
+#include <linux/kconfig.h>
+
#include <linux/i2c.h>
#include "dvb_frontend.h"
@@ -116,8 +118,7 @@ struct mxl5005s_config {
u8 AgcMasterByte;
};
-#if defined(CONFIG_MEDIA_TUNER_MXL5005S) || \
- (defined(CONFIG_MEDIA_TUNER_MXL5005S_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_MXL5005S)
extern struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c,
struct mxl5005s_config *config);