Make saa7134-input.c build for kernels < 2.6.30
PATCH 1/1 Make saa7134-input.c build for kernels < 2.6.30
Hi
The current http://linuxtv.org/hg/v4l-dvb tree doesn't build against my kernel (2.6.26-2-xen-686 from Debian Lenny) and lots of others according to http://www.xs4all.nl/~hverkuil/logs/Friday.log because of a typo fixed by this patch. Apologies for posting what to many will be the bleeding obvious.
Cheers
Duncan
Signed-off-by Duncan Gibb <[email protected]>
---
linux/drivers/media/video/saa7134/saa7134-input.c Sat Dec 12 12:08:10 2009 +0000 renamed from linux/drivers/media/video/saa7134/saa7134-input.c Thu Dec 10 18:17:49 2009 -0200 +1 -1
@@ -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;