From e53c2ab0c2f80b486febe23d51436fe7e84f37d4 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Sun, 9 Dec 2012 20:12:07 -0300 Subject: [PATCH] --- yaml --- r: 357331 b: refs/heads/master c: d5c6209068aeca3d464f4161006e637a6087008c h: refs/heads/master i: 357329: 36988fe2db2ad782ecd82fa97f9dc9b9bdeda7a2 357327: 4331bd42d86da9784c2b0fe3327dbcea6977650c v: v3 --- [refs] | 2 +- trunk/drivers/media/usb/dvb-usb-v2/anysee.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e4c8993446ee..e102024fdf37 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cedda37015e90e58458fd91635ff8ef5d144d3f5 +refs/heads/master: d5c6209068aeca3d464f4161006e637a6087008c diff --git a/trunk/drivers/media/usb/dvb-usb-v2/anysee.c b/trunk/drivers/media/usb/dvb-usb-v2/anysee.c index d05c5b563dac..5f450374cd03 100644 --- a/trunk/drivers/media/usb/dvb-usb-v2/anysee.c +++ b/trunk/drivers/media/usb/dvb-usb-v2/anysee.c @@ -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)