diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2009-01-29 01:08:40 +0100 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2009-01-29 01:22:27 +0100 |
commit | 9e2a3b3c6f9e98c0ba11a1069502c91af3ed9bec (patch) | |
tree | 26eb4efd3c3886d07be1da7395c60fd8e7064fbe /packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch | |
parent | fc0b46cf92ab34f93ca7937a5da68672f92fcce8 (diff) |
linux-kexecboot: remove 2.6.23 (for zaurus c700 testing only)
Diffstat (limited to 'packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch')
-rw-r--r-- | packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch b/packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch deleted file mode 100644 index 08f4f15211..0000000000 --- a/packages/kexecboot/linux-kexecboot-2.6.23/usb-ohci-hooks-r3.patch +++ /dev/null @@ -1,47 +0,0 @@ -Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> -Index: linux-2.6.23/drivers/usb/host/ohci-hcd.c -=================================================================== ---- linux-2.6.23.orig/drivers/usb/host/ohci-hcd.c 2007-11-12 12:36:12.598560065 +0300 -+++ linux-2.6.23/drivers/usb/host/ohci-hcd.c 2007-11-12 12:36:16.614310504 +0300 -@@ -930,6 +930,7 @@ - !defined(PLATFORM_DRIVER) && \ - !defined(OF_PLATFORM_DRIVER) && \ - !defined(SA1111_DRIVER) && \ -+ !defined(DEVICE_DRIVER) && \ - !defined(PS3_SYSTEM_BUS_DRIVER) - #error "missing bus glue for ohci-hcd" - #endif -@@ -969,6 +970,12 @@ - goto error_sa1111; - #endif - -+#ifdef DEVICE_DRIVER -+ retval = driver_register(&DEVICE_DRIVER); -+ if (retval < 0) -+ goto error_device; -+#endif -+ - #ifdef PCI_DRIVER - retval = pci_register_driver(&PCI_DRIVER); - if (retval < 0) -@@ -981,6 +988,10 @@ - #ifdef PCI_DRIVER - error_pci: - #endif -+#ifdef DEVICE_DRIVER -+ error_device: -+ driver_unregister(&DEVICE_DRIVER); -+#endif - #ifdef SA1111_DRIVER - sa1111_driver_unregister(&SA1111_DRIVER); - error_sa1111: -@@ -1006,6 +1017,9 @@ - #ifdef PCI_DRIVER - pci_unregister_driver(&PCI_DRIVER); - #endif -+#ifdef DEVICE_DRIVER -+ driver_unregister(&DEVICE_DRIVER); -+#endif - #ifdef SA1111_DRIVER - sa1111_driver_unregister(&SA1111_DRIVER); - #endif |