Commit eed5670a authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] af9035: make remote controller optional



Do not compile remote controller when RC-core is disabled by Kconfig.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b6215596
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1146,6 +1146,7 @@ err:
	return ret;
}

#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
static int af9035_rc_query(struct dvb_usb_device *d)
{
	unsigned int key;
@@ -1220,6 +1221,9 @@ err:

	return ret;
}
#else
	#define af9035_get_rc_config NULL
#endif

/* interface 0 is used by DVB-T receiver and
   interface 1 is for remote controller (HID) */