From 2452b05fefdd0ecb6a5c80cfa5820e185b6d1607 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Fri, 20 Jul 2007 10:32:18 +0000 Subject: 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 --- .../linux/linux-handhelds-2.6/h2200/hamcop-h11.patch | 20 ++++++++++++++++++++ packages/linux/linux-handhelds-2.6_2.6.21-hh11.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 packages/linux/linux-handhelds-2.6/h2200/hamcop-h11.patch (limited to 'packages/linux') 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 ++ + 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 -- cgit v1.2.3