summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/az6007.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-01-04 15:21:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-06 10:20:13 -0200
commit37b44a0f04184998073633887d2f1e724aee130a (patch)
tree37181c38d801fb7eed4c68d3c08b1c28c52bc22e /drivers/media/usb/dvb-usb-v2/az6007.c
parentac1c86c857368eb727b7ca2c7a48bd6e373fa628 (diff)
downloadlinux-37b44a0f04184998073633887d2f1e724aee130a.tar.bz2
[media] dvb_usb_v2: use IS_ENABLED() macro
replace: #if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE) with: #if IS_ENABLED(CONFIG_RC_CORE) Reported-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/az6007.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/az6007.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/az6007.c b/drivers/media/usb/dvb-usb-v2/az6007.c
index 3b33f1ec2295..70ec80d8be71 100644
--- a/drivers/media/usb/dvb-usb-v2/az6007.c
+++ b/drivers/media/usb/dvb-usb-v2/az6007.c
@@ -189,7 +189,7 @@ static int az6007_streaming_ctrl(struct dvb_frontend *fe, int onoff)
return az6007_write(d, 0xbc, onoff, 0, NULL, 0);
}
-#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
+#if IS_ENABLED(CONFIG_RC_CORE)
/* remote control stuff (does not work with my box) */
static int az6007_rc_query(struct dvb_usb_device *d)
{