diff options
author | Antti Palosaari | 2013-01-04 15:21:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2013-01-06 10:20:13 -0200 |
commit | 37b44a0f04184998073633887d2f1e724aee130a (patch) | |
tree | 37181c38d801fb7eed4c68d3c08b1c28c52bc22e /drivers/media/usb/dvb-usb-v2/it913x.c | |
parent | ac1c86c857368eb727b7ca2c7a48bd6e373fa628 (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.c | 2 |
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]; |