Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[media] anysee: 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 cedda370
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1019,6 +1019,7 @@ static int anysee_tuner_attach(struct dvb_usb_adapter *adap)
	return ret;
}

#if defined(CONFIG_RC_CORE) || defined(CONFIG_RC_CORE_MODULE)
static int anysee_rc_query(struct dvb_usb_device *d)
{
	u8 buf[] = {CMD_GET_IR_CODE};
@@ -1054,6 +1055,9 @@ static int anysee_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc)

	return 0;
}
#else
	#define anysee_get_rc_config NULL
#endif

static int anysee_ci_read_attribute_mem(struct dvb_ca_en50221 *ci, int slot,
	int addr)