[oe-commits] org.oe.dev linux-nokia770: Add patches to fix compile.
florian commit
openembedded-commits at lists.openembedded.org
Wed Nov 22 11:40:08 UTC 2006
linux-nokia770: Add patches to fix compile.
Author: florian at openembedded.org
Branch: org.openembedded.dev
Revision: 959a6162fa3ea78b9386188cf845e87e4556c6f8
ViewMTN: http://monotone.openembedded.org/revision.psp?id=959a6162fa3ea78b9386188cf845e87e4556c6f8
Files:
1
packages/linux/linux-nokia770-2.6.16-osso26/fix_tlv320aic23_compile.patch
packages/linux/linux-nokia770-2.6.16-osso26/fix_usb_hub_compile.patch
packages/linux/linux-nokia770_2.6.16-osso26.bb
Diffs:
#
# mt diff -r384d70a36a773cda7d630fc350f0c367025bd7ba -r959a6162fa3ea78b9386188cf845e87e4556c6f8
#
#
#
# add_file "packages/linux/linux-nokia770-2.6.16-osso26/fix_tlv320aic23_compile.patch"
# content [9c44e69c35cf789572c89d6dcf7f9e13b7e66445]
#
# add_file "packages/linux/linux-nokia770-2.6.16-osso26/fix_usb_hub_compile.patch"
# content [82281e1f4711b9e99865c133c0019b5bf85900c3]
#
# patch "packages/linux/linux-nokia770_2.6.16-osso26.bb"
# from [e04721dee6b26e6c10ae52b1863ee4bbb89504a2]
# to [f53d9573847a27ec9a045ecb013219e1c6976e8d]
#
============================================================
--- packages/linux/linux-nokia770-2.6.16-osso26/fix_tlv320aic23_compile.patch 9c44e69c35cf789572c89d6dcf7f9e13b7e66445
+++ packages/linux/linux-nokia770-2.6.16-osso26/fix_tlv320aic23_compile.patch 9c44e69c35cf789572c89d6dcf7f9e13b7e66445
@@ -0,0 +1,11 @@
+--- kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c.orig 2006-11-22 11:48:20.000000000 +0100
++++ kernel-source-2.6.16-2.6.16.rel/drivers/i2c/chips/tlv320aic23.c 2006-11-22 11:48:42.000000000 +0100
+@@ -184,7 +184,7 @@
+ }
+
+ static struct i2c_driver aic23_driver = {
+- .driver {
++ .driver = {
+ .name = "OMAP+TLV320AIC23 codec",
+ },
+ .id = I2C_DRIVERID_MISC,
============================================================
--- packages/linux/linux-nokia770-2.6.16-osso26/fix_usb_hub_compile.patch 82281e1f4711b9e99865c133c0019b5bf85900c3
+++ packages/linux/linux-nokia770-2.6.16-osso26/fix_usb_hub_compile.patch 82281e1f4711b9e99865c133c0019b5bf85900c3
@@ -0,0 +1,19 @@
+--- kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c.orig 2006-11-22 12:17:01.000000000 +0100
++++ kernel-source-2.6.16-2.6.16.rel/drivers/usb/core/hub.c 2006-11-22 12:17:48.000000000 +0100
+@@ -1289,6 +1289,7 @@
+ *
+ * Only the hub driver or root-hub registrar should ever call this.
+ */
++static int __usb_suspend_device(struct usb_device *, int port1);
+ int usb_new_device(struct usb_device *udev)
+ {
+ int err;
+@@ -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);
============================================================
--- packages/linux/linux-nokia770_2.6.16-osso26.bb e04721dee6b26e6c10ae52b1863ee4bbb89504a2
+++ packages/linux/linux-nokia770_2.6.16-osso26.bb f53d9573847a27ec9a045ecb013219e1c6976e8d
@@ -1,9 +1,11 @@ LICENSE = "GPL"
SECTION = "kernel"
DESCRIPTION = "Linux kernel for Nokia 770"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://repository.maemo.org/pool/mistral/non-free/source/k/kernel-source-2.6.16/kernel-source-2.6.16_2.6.16.rel-osso15.tar.gz \
+ file://fix_tlv320aic23_compile.patch;patch=1 \
+ file://fix_usb_hub_compile.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/kernel-source-2.6.16-2.6.16.rel"
More information about the Openembedded-commits
mailing list