diff mbox

Kworld 315U remote support part2

Message ID 937956.58819.qm@web32708.mail.mud.yahoo.com (mailing list archive)
State Accepted
Headers show

Commit Message

Franklin Meng Feb. 13, 2010, 5:37 a.m. UTC
None
diff mbox

Patch

diff -r 14021dfc00f3 linux/drivers/media/video/em28xx/em28xx-cards.c
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c	Thu Feb 11 23:11:30 2010 -0200
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c	Fri Feb 12 21:31:41 2010 -0800
@@ -1329,6 +1329,7 @@ 
 		.decoder	= EM28XX_SAA711X,
 		.has_dvb	= 1,
 		.dvb_gpio	= em2882_kworld_315u_digital,
+		.ir_codes	= &ir_codes_kworld_315u_table,
 		.xclk		= EM28XX_XCLK_FREQUENCY_12MHZ,
 		.i2c_speed	= EM28XX_I2C_CLK_WAIT_ENABLE,
 		/* Analog mode - still not ready */
diff -r 14021dfc00f3 linux/include/media/ir-common.h
--- a/linux/include/media/ir-common.h	Thu Feb 11 23:11:30 2010 -0200
+++ b/linux/include/media/ir-common.h	Fri Feb 12 21:31:41 2010 -0800
@@ -163,4 +163,5 @@ 
 extern struct ir_scancode_table ir_codes_gadmei_rm008z_table;
 extern struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table;
 extern struct ir_scancode_table ir_codes_winfast_usbii_deluxe_table;
+extern struct ir_scancode_table ir_codes_kworld_315u_table;
 #endif