Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303539
b: refs/heads/master
c: 259b83a
h: refs/heads/master
i:
  303537: a288143
  303535: 3448a70
v: v3
  • Loading branch information
Hauke Mehrtens authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent 696b657 commit 0a26241
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 282 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7043c2ccf7483f170df4abcd4c95919050ac0760
refs/heads/master: 259b83a387dfb275988e72e25e3dd9e62d4916ac
7 changes: 6 additions & 1 deletion trunk/drivers/usb/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,15 @@ config USB_OHCI_HCD_PCI
If unsure, say Y.

config USB_OHCI_HCD_SSB
bool "OHCI support for Broadcom SSB OHCI core"
bool "OHCI support for Broadcom SSB OHCI core (DEPRECATED)"
depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
select USB_HCD_SSB
select USB_OHCI_HCD_PLATFORM
default n
---help---
This option is deprecated now and the driver was removed, use
USB_HCD_SSB and USB_OHCI_HCD_PLATFORM instead.

Support for the Sonics Silicon Backplane (SSB) attached
Broadcom USB OHCI core.

Expand Down
21 changes: 1 addition & 20 deletions trunk/drivers/usb/host/ohci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,11 +1080,6 @@ MODULE_LICENSE ("GPL");
#define PS3_SYSTEM_BUS_DRIVER ps3_ohci_driver
#endif

#ifdef CONFIG_USB_OHCI_HCD_SSB
#include "ohci-ssb.c"
#define SSB_OHCI_DRIVER ssb_ohci_driver
#endif

#ifdef CONFIG_MFD_SM501
#include "ohci-sm501.c"
#define SM501_OHCI_DRIVER ohci_hcd_sm501_driver
Expand Down Expand Up @@ -1128,8 +1123,7 @@ MODULE_LICENSE ("GPL");
!defined(SA1111_DRIVER) && \
!defined(PS3_SYSTEM_BUS_DRIVER) && \
!defined(SM501_OHCI_DRIVER) && \
!defined(TMIO_OHCI_DRIVER) && \
!defined(SSB_OHCI_DRIVER)
!defined(TMIO_OHCI_DRIVER)
#error "missing bus glue for ohci-hcd"
#endif

Expand Down Expand Up @@ -1195,12 +1189,6 @@ static int __init ohci_hcd_mod_init(void)
goto error_pci;
#endif

#ifdef SSB_OHCI_DRIVER
retval = ssb_driver_register(&SSB_OHCI_DRIVER);
if (retval)
goto error_ssb;
#endif

#ifdef SM501_OHCI_DRIVER
retval = platform_driver_register(&SM501_OHCI_DRIVER);
if (retval < 0)
Expand All @@ -1224,10 +1212,6 @@ static int __init ohci_hcd_mod_init(void)
platform_driver_unregister(&SM501_OHCI_DRIVER);
error_sm501:
#endif
#ifdef SSB_OHCI_DRIVER
ssb_driver_unregister(&SSB_OHCI_DRIVER);
error_ssb:
#endif
#ifdef PCI_DRIVER
pci_unregister_driver(&PCI_DRIVER);
error_pci:
Expand Down Expand Up @@ -1275,9 +1259,6 @@ static void __exit ohci_hcd_mod_exit(void)
#ifdef SM501_OHCI_DRIVER
platform_driver_unregister(&SM501_OHCI_DRIVER);
#endif
#ifdef SSB_OHCI_DRIVER
ssb_driver_unregister(&SSB_OHCI_DRIVER);
#endif
#ifdef PCI_DRIVER
pci_unregister_driver(&PCI_DRIVER);
#endif
Expand Down
260 changes: 0 additions & 260 deletions trunk/drivers/usb/host/ohci-ssb.c

This file was deleted.

0 comments on commit 0a26241

Please sign in to comment.