aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/it913x.c
diff options
context:
space:
mode:
authorAntti Palosaari2013-01-04 15:21:26 -0300
committerMauro Carvalho Chehab2013-01-06 10:20:13 -0200
commit37b44a0f04184998073633887d2f1e724aee130a (patch)
tree37181c38d801fb7eed4c68d3c08b1c28c52bc22e /drivers/media/usb/dvb-usb-v2/it913x.c
parentac1c86c857368eb727b7ca2c7a48bd6e373fa628 (diff)
[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/it913x.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/it913x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/it913x.c b/drivers/media/usb/dvb-usb-v2/it913x.c
index 511c2aa00b97..833847995c65 100644
--- a/drivers/media/usb/dvb-usb-v2/it913x.c
+++ b/drivers/media/usb/dvb-usb-v2/it913x.c
@@ -308,7 +308,7 @@ static struct i2c_algorithm it913x_i2c_algo = {
};
/* Callbacks for DVB USB */
-#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
+#if IS_ENABLED(CONFIG_RC_CORE)
static int it913x_rc_query(struct dvb_usb_device *d)
{
u8 ibuf[4];