[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>
This commit is contained in:
Antti Palosaari
2013-01-04 15:21:26 -03:00
کامیت شده توسط Mauro Carvalho Chehab
والد ac1c86c857
کامیت 37b44a0f04
7فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده

مشاهده پرونده

@@ -1156,7 +1156,7 @@ error:
return ret;
}
#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
#if IS_ENABLED(CONFIG_RC_CORE)
struct af9015_rc_setup {
unsigned int id;
char *rc_codes;