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
This commit is contained in:
Marcin Juszkiewicz 2007-04-25 13:43:34 +00:00
parent 2445bb8a76
commit 9d0afeb9bd
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,34 @@
Index: kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c
===================================================================
--- kernel-source-2.6.16-2.6.16.rel.orig/drivers/i2c/chips/tlv320aic23.c 2007-04-14 15:15:39.000000000 +0200
+++ kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c 2007-04-14 15:16:33.000000000 +0200
@@ -185,7 +185,7 @@
}
static struct i2c_driver aic23_driver = {
- .driver {
+ .driver = {
.name = "OMAP+TLV320AIC23 codec",
},
.id = I2C_DRIVERID_MISC,
Index: kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c
===================================================================
--- kernel-source-2.6.16-2.6.16.rel.orig/drivers/usb/core/hub.c 2007-04-14 15:18:05.000000000 +0200
+++ kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c 2007-04-14 15:22:38.000000000 +0200
@@ -50,6 +50,7 @@
module_param (blinkenlights, bool, S_IRUGO);
MODULE_PARM_DESC (blinkenlights, "true to cycle leds on hubs");
+static int __usb_suspend_device (struct usb_device *udev, int port1);
/*
* As of 2.6.10 we introduce a new USB device initialization scheme which
* closely resembles the way Windows works. Hopefully it will be compatible
@@ -1371,8 +1372,6 @@
* (Includes HNP test device.)
*/
if (udev->bus->b_hnp_enable || udev->bus->is_b_host) {
- static int __usb_suspend_device(struct usb_device *,
- int port1);
err = __usb_suspend_device(udev, udev->bus->otg_port);
if (err < 0)
dev_dbg(&udev->dev, "HNP fail, %d\n", err);

View File

@ -1,9 +1,10 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for Nokia 770"
LICENSE = "GPL"
PR = "r1"
PR = "r2"
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 \
file://gcc4.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel"