summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
diff options
context:
space:
mode:
authorAntti Palosaari2013-01-04 19:21:26 +0100
committerMauro Carvalho Chehab2013-01-06 13:20:13 +0100
commit37b44a0f04184998073633887d2f1e724aee130a (patch)
tree37181c38d801fb7eed4c68d3c08b1c28c52bc22e /drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
parent[media] dvb_usb_v2: change rc polling active/deactive logic (diff)
downloadkernel-qcow2-linux-37b44a0f04184998073633887d2f1e724aee130a.tar.gz
kernel-qcow2-linux-37b44a0f04184998073633887d2f1e724aee130a.tar.xz
kernel-qcow2-linux-37b44a0f04184998073633887d2f1e724aee130a.zip
[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/dvb_usb_core.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvb_usb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c b/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
index 95968d39c1ca..086792055912 100644
--- a/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
+++ b/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
@@ -102,7 +102,7 @@ static int dvb_usbv2_i2c_exit(struct dvb_usb_device *d)
return 0;
}
-#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
+#if IS_ENABLED(CONFIG_RC_CORE)
static void dvb_usb_read_remote_control(struct work_struct *work)
{
struct dvb_usb_device *d = container_of(work,