diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 13:43:34 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 13:43:34 +0000 |
commit | 9d0afeb9bde588bd4246466ad86f48111a40eb8f (patch) | |
tree | 47b1aecbb646eee659990ef6d236e1613402fb89 /meta | |
parent | 2445bb8a765ecdcc2386a60c9c8e876cff727ad2 (diff) | |
download | poky-9d0afeb9bde588bd4246466ad86f48111a40eb8f.tar.gz |
linux-nokia770: added gcc4.patch needed for gcc 4.1.1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1559 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/linux/linux-nokia770-2.6.16-osso26/gcc4.patch | 34 | ||||
-rw-r--r-- | meta/packages/linux/linux-nokia770_2.6.16-osso26.bb | 3 |
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 @@ | |||
1 | Index: 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, | ||
14 | Index: 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 @@ | |||
1 | SECTION = "kernel" | 1 | SECTION = "kernel" |
2 | DESCRIPTION = "Linux kernel for Nokia 770" | 2 | DESCRIPTION = "Linux kernel for Nokia 770" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | PR = "r1" | 4 | PR = "r2" |
5 | 5 | ||
6 | SRC_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 \ | 6 | SRC_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 | ||
9 | S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel" | 10 | S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel" |