linux-handhelds-2.6_2.6.21-h11 : fix hamcop compilation issue
authorPhilippe De Swert <philippedeswert@scarlet.be>
Fri, 20 Jul 2007 10:32:18 +0000 (10:32 +0000)
committerPhilippe De Swert <philippedeswert@scarlet.be>
Fri, 20 Jul 2007 10:32:18 +0000 (10:32 +0000)
* fix hamcop compilation issue as reported in http://bugs.openembedded.org/show_bug.cgi?id=2658
* fixes bug #2658
* hh12 supersedes this version and works, but I thought fixing it anyway was a good idea

packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch [new file with mode: 0644]
packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb

diff --git a/packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch b/packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch
new file mode 100644 (file)
index 0000000..6d96cf4
--- /dev/null
@@ -0,0 +1,20 @@
+--- include/linux/soc/hamcop_base.h.orig       2007-07-20 13:18:06.338543484 +0300
++++ include/linux/soc/hamcop_base.h    2007-07-20 13:19:02.853764103 +0300
+@@ -24,6 +24,8 @@
+ #ifndef HAMCOP_BASE_H
+ #define HAMCOP_BASE_H
++#include <linux/gpiodev.h>
++
+ struct hamcop_platform_data
+ {
+         struct gpiodev_ops gpiodev_ops;
+@@ -33,7 +35,7 @@
+         u16 clocksleep;
+         u16 pllcontrol;
+-}
++};
+ extern void hamcop_set_gpio_a (struct device *dev, u32 mask, u16 bits);
+ extern void hamcop_set_gpio_b (struct device *dev, u32 mask, u16 bits);
index ec5844b..34e0845 100644 (file)
@@ -1,11 +1,12 @@
 SECTION = "kernel"
 DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \
+          file://hamcop-h11.patch;patch=1;pnum=0 \
            file://defconfig"
 
 require linux-handhelds-2.6.inc