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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dg@xxxxxxxxxxxxxx>
---
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;


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux