diff mbox

[Trivial] Make saa7134-input.c build for kernels < 2.6.30

Message ID 4B2391E0.3040800@duncangibb.com (mailing list archive)
State Rejected
Headers show

Commit Message

Duncan Gibb Dec. 12, 2009, 12:51 p.m. UTC
None
diff mbox

Patch

diff -r db37ff59927f linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Thu Dec 10 18:17:49 2009 -0200
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sat Dec 12 12:08:10 2009 +0000
@@ -962,7 +962,7 @@ 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
                snprintf(ir->c.name, sizeof(ir->c.name), "FlyDVB Trio");
                ir->get_key   = get_key_flydvb_trio;
-               ir->ir_codes  = ir_codes_flydvb_table;
+               ir->ir_codes  = &ir_codes_flydvb_table;
 #else
                dev->init_data.name = "FlyDVB Trio";
                dev->init_data.get_key = get_key_flydvb_trio;