summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe De Swert <philippedeswert@scarlet.be>2007-07-20 10:32:18 +0000
committerPhilippe De Swert <philippedeswert@scarlet.be>2007-07-20 10:32:18 +0000
commit2452b05fefdd0ecb6a5c80cfa5820e185b6d1607 (patch)
treeb9c2880da44fca81d1f8d095fe92644170e11c82
parent34ead5d4ccabff3659140a6b48db6505771f2503 (diff)
linux-handhelds-2.6_2.6.21-h11 : fix hamcop compilation issue
* 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
-rw-r--r--packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch20
-rw-r--r--packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb3
2 files changed, 22 insertions, 1 deletions
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
index 0000000000..6d96cf435c
--- /dev/null
+++ b/packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch
@@ -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);
diff --git a/packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb b/packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb
index ec5844bfb5..34e08451cc 100644
--- a/packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb
+++ b/packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb
@@ -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