aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lgs8gl5.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/lgs8gl5.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/lgs8gl5.h')
-rw-r--r--drivers/media/dvb-frontends/lgs8gl5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/lgs8gl5.h b/drivers/media/dvb-frontends/lgs8gl5.h
index d14176787a7d..c2da59614727 100644
--- a/drivers/media/dvb-frontends/lgs8gl5.h
+++ b/drivers/media/dvb-frontends/lgs8gl5.h
@@ -23,6 +23,7 @@
23#ifndef LGS8GL5_H 23#ifndef LGS8GL5_H
24#define LGS8GL5_H 24#define LGS8GL5_H
25 25
26#include <linux/kconfig.h>
26#include <linux/dvb/frontend.h> 27#include <linux/dvb/frontend.h>
27 28
28struct lgs8gl5_config { 29struct lgs8gl5_config {
@@ -30,8 +31,7 @@ struct lgs8gl5_config {
30 u8 demod_address; 31 u8 demod_address;
31}; 32};
32 33
33#if defined(CONFIG_DVB_LGS8GL5) || \ 34#if IS_ENABLED(CONFIG_DVB_LGS8GL5)
34 (defined(CONFIG_DVB_LGS8GL5_MODULE) && defined(MODULE))
35extern struct dvb_frontend *lgs8gl5_attach( 35extern struct dvb_frontend *lgs8gl5_attach(
36 const struct lgs8gl5_config *config, struct i2c_adapter *i2c); 36 const struct lgs8gl5_config *config, struct i2c_adapter *i2c);
37#else 37#else