rpms/kernel/devel hdpvr-ir-enable.patch,1.4,1.5
Chuck Ebbert
cebbert at fedoraproject.org
Sat Sep 5 01:22:31 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31459
Modified Files:
hdpvr-ir-enable.patch
Log Message:
quickfix use of LINUX_VERSION_CODE causing compile failure
hdpvr-ir-enable.patch:
Makefile | 4 --
hdpvr-core.c | 12 ++------
hdpvr-i2c.c | 88 +++++++++++++++++++++++++++++++++++++++++------------------
hdpvr.h | 2 -
4 files changed, 68 insertions(+), 38 deletions(-)
Index: hdpvr-ir-enable.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/hdpvr-ir-enable.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- hdpvr-ir-enable.patch 3 Sep 2009 21:02:14 -0000 1.4
+++ hdpvr-ir-enable.patch 5 Sep 2009 01:22:31 -0000 1.5
@@ -142,7 +142,7 @@ index c4b5d15..7cd977f 100644
+ .class = I2C_CLASS_TV_ANALOG,
+};
+
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
++#if 1
+static struct i2c_board_info hdpvr_i2c_board_info = {
+ I2C_BOARD_INFO("ir_tx_z8f0811_haup", HDPVR_HW_Z8F0811_IR_TX_I2C_ADDR),
+ I2C_BOARD_INFO("ir_rx_z8f0811_haup", HDPVR_HW_Z8F0811_IR_RX_I2C_ADDR),
@@ -203,7 +203,7 @@ index c4b5d15..7cd977f 100644
+ if (retval)
+ goto error;
+
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
++#if 1
+ i2c_new_device(&dev->i2c_adapter, &hdpvr_i2c_board_info);
+#endif
More information about the fedora-extras-commits
mailing list