aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lnbp22.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 15:11:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 08:03:59 -0400
commit782d8b743aad7dfffa4c01e9e8b57fd35247d70a (patch)
treef5ac388982dc40592ff8da91f94f3b6fe69a152c /drivers/media/dvb-frontends/lnbp22.h
parent54d80904b4c1f7aa1d569d07ca3e62fba0daf3a2 (diff)
[media] dvb-frontends: 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/dvb-frontends/lnbp22.h')
-rw-r--r--drivers/media/dvb-frontends/lnbp22.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/lnbp22.h b/drivers/media/dvb-frontends/lnbp22.h
index 63e2dec7e68a..63861b311dd8 100644
--- a/drivers/media/dvb-frontends/lnbp22.h
+++ b/drivers/media/dvb-frontends/lnbp22.h
@@ -28,6 +28,8 @@
28#ifndef _LNBP22_H 28#ifndef _LNBP22_H
29#define _LNBP22_H 29#define _LNBP22_H
30 30
31#include <linux/kconfig.h>
32
31/* Enable */ 33/* Enable */
32#define LNBP22_EN 0x10 34#define LNBP22_EN 0x10
33/* Voltage selection */ 35/* Voltage selection */
@@ -37,8 +39,7 @@
37 39
38#include <linux/dvb/frontend.h> 40#include <linux/dvb/frontend.h>
39 41
40#if defined(CONFIG_DVB_LNBP22) || \ 42#if IS_ENABLED(CONFIG_DVB_LNBP22)
41 (defined(CONFIG_DVB_LNBP22_MODULE) && defined(MODULE))
42/* 43/*
43 * override_set and override_clear control which system register bits (above) 44 * override_set and override_clear control which system register bits (above)
44 * to always set & clear 45 * to always set & clear