aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0013.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 15:24:09 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 08:22:06 -0400
commit9dc353c67cbe3150d3a6b293662d5a33028adec4 (patch)
tree5b5ec2847eeb5244692365f2e54e649fc41f87d4 /drivers/media/tuners/fc0013.h
parent782d8b743aad7dfffa4c01e9e8b57fd35247d70a (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/fc0013.h')
-rw-r--r--drivers/media/tuners/fc0013.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0013.h b/drivers/media/tuners/fc0013.h
index 594efd64aeec..d65d5b37f56e 100644
--- a/drivers/media/tuners/fc0013.h
+++ b/drivers/media/tuners/fc0013.h
@@ -22,11 +22,11 @@
22#ifndef _FC0013_H_ 22#ifndef _FC0013_H_
23#define _FC0013_H_ 23#define _FC0013_H_
24 24
25#include <linux/kconfig.h>
25#include "dvb_frontend.h" 26#include "dvb_frontend.h"
26#include "fc001x-common.h" 27#include "fc001x-common.h"
27 28
28#if defined(CONFIG_MEDIA_TUNER_FC0013) || \ 29#if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0013)
29 (defined(CONFIG_MEDIA_TUNER_FC0013_MODULE) && defined(MODULE))
30extern struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe, 30extern struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe,
31 struct i2c_adapter *i2c, 31 struct i2c_adapter *i2c,
32 u8 i2c_address, int dual_master, 32 u8 i2c_address, int dual_master,