summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/linux/linux-nokia770-2.6.16-osso26/gcc4.patch34
-rw-r--r--meta/packages/linux/linux-nokia770_2.6.16-osso26.bb3
2 files changed, 36 insertions, 1 deletions
diff --git a/meta/packages/linux/linux-nokia770-2.6.16-osso26/gcc4.patch b/meta/packages/linux/linux-nokia770-2.6.16-osso26/gcc4.patch
new file mode 100644
index 0000000000..340d1d6db5
--- /dev/null
+++ b/meta/packages/linux/linux-nokia770-2.6.16-osso26/gcc4.patch
@@ -0,0 +1,34 @@
1Index: kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c
2===================================================================
3--- kernel-source-2.6.16-2.6.16.rel.orig/drivers/i2c/chips/tlv320aic23.c 2007-04-14 15:15:39.000000000 +0200
4+++ kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c 2007-04-14 15:16:33.000000000 +0200
5@@ -185,7 +185,7 @@
6 }
7
8 static struct i2c_driver aic23_driver = {
9- .driver {
10+ .driver = {
11 .name = "OMAP+TLV320AIC23 codec",
12 },
13 .id = I2C_DRIVERID_MISC,
14Index: kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c
15===================================================================
16--- kernel-source-2.6.16-2.6.16.rel.orig/drivers/usb/core/hub.c 2007-04-14 15:18:05.000000000 +0200
17+++ kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c 2007-04-14 15:22:38.000000000 +0200
18@@ -50,6 +50,7 @@
19 module_param (blinkenlights, bool, S_IRUGO);
20 MODULE_PARM_DESC (blinkenlights, "true to cycle leds on hubs");
21
22+static int __usb_suspend_device (struct usb_device *udev, int port1);
23 /*
24 * As of 2.6.10 we introduce a new USB device initialization scheme which
25 * closely resembles the way Windows works. Hopefully it will be compatible
26@@ -1371,8 +1372,6 @@
27 * (Includes HNP test device.)
28 */
29 if (udev->bus->b_hnp_enable || udev->bus->is_b_host) {
30- static int __usb_suspend_device(struct usb_device *,
31- int port1);
32 err = __usb_suspend_device(udev, udev->bus->otg_port);
33 if (err < 0)
34 dev_dbg(&udev->dev, "HNP fail, %d\n", err);
diff --git a/meta/packages/linux/linux-nokia770_2.6.16-osso26.bb b/meta/packages/linux/linux-nokia770_2.6.16-osso26.bb
index fa7dc45ee4..fb672b1215 100644
--- a/meta/packages/linux/linux-nokia770_2.6.16-osso26.bb
+++ b/meta/packages/linux/linux-nokia770_2.6.16-osso26.bb
@@ -1,9 +1,10 @@
1SECTION = "kernel" 1SECTION = "kernel"
2DESCRIPTION = "Linux kernel for Nokia 770" 2DESCRIPTION = "Linux kernel for Nokia 770"
3LICENSE = "GPL" 3LICENSE = "GPL"
4PR = "r1" 4PR = "r2"
5 5
6SRC_URI = "http://repository.maemo.org/pool/maemo2.1/free/source/k/kernel-source-2.6.16/kernel-source-2.6.16_2.6.16.rel-osso26.tar.gz \ 6SRC_URI = "http://repository.maemo.org/pool/maemo2.1/free/source/k/kernel-source-2.6.16/kernel-source-2.6.16_2.6.16.rel-osso26.tar.gz \
7 file://gcc4.patch;patch=1 \
7 file://defconfig" 8 file://defconfig"
8 9
9S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel" 10S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel"