summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0011.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/fc0011.h
parent782d8b743aad7dfffa4c01e9e8b57fd35247d70a (diff)
downloadop-kernel-dev-9dc353c67cbe3150d3a6b293662d5a33028adec4.zip
op-kernel-dev-9dc353c67cbe3150d3a6b293662d5a33028adec4.tar.gz
[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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0011.h b/drivers/media/tuners/fc0011.h
index 0ee581f..43ec893 100644
--- a/drivers/media/tuners/fc0011.h
+++ b/drivers/media/tuners/fc0011.h
@@ -1,6 +1,7 @@
#ifndef LINUX_FC0011_H_
#define LINUX_FC0011_H_
+#include <linux/kconfig.h>
#include "dvb_frontend.h"
@@ -22,8 +23,7 @@ enum fc0011_fe_callback_commands {
FC0011_FE_CALLBACK_RESET,
};
-#if defined(CONFIG_MEDIA_TUNER_FC0011) ||\
- defined(CONFIG_MEDIA_TUNER_FC0011_MODULE)
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0011)
struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c,
const struct fc0011_config *config);
OpenPOWER on IntegriCloud