[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:

کامیت شده توسط
Mauro Carvalho Chehab

والد
ac1c86c857
کامیت
37b44a0f04
@@ -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;
|
||||
|
مرجع در شماره جدید
Block a user