summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lgdt3306a.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-08 15:04:35 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-08 15:05:12 -0300
commit00c78a3728dff798b4c9d5e2d38c86106ff6e8c7 (patch)
treee45b1320976754bc311605f38431215f4862fed5 /drivers/media/dvb-frontends/lgdt3306a.h
parent9b174527e7b756cda9f5d9e541f87b7fec9cfdf0 (diff)
downloadop-kernel-dev-00c78a3728dff798b4c9d5e2d38c86106ff6e8c7.zip
op-kernel-dev-00c78a3728dff798b4c9d5e2d38c86106ff6e8c7.tar.gz
dvb-frontends: use IS_REACHABLE() instead of IS_ENABLED()
Changeset 9b174527e7b7 added this new macro, ensuring that it is true only if the function is actually reachable. However, newer drivers were added since when it was written. So, change those drivers to also use it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.h')
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.h b/drivers/media/dvb-frontends/lgdt3306a.h
index ed8aa3e..9dbb2dc 100644
--- a/drivers/media/dvb-frontends/lgdt3306a.h
+++ b/drivers/media/dvb-frontends/lgdt3306a.h
@@ -58,7 +58,7 @@ struct lgdt3306a_config {
int xtalMHz;
};
-#if IS_ENABLED(CONFIG_DVB_LGDT3306A)
+#if IS_REACHABLE(CONFIG_DVB_LGDT3306A)
struct dvb_frontend *lgdt3306a_attach(const struct lgdt3306a_config *config,
struct i2c_adapter *i2c_adap);
#else
OpenPOWER on IntegriCloud