Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b22817b3c81cdb18ffe3d2debfee968731a8b5f4
Commit:     b22817b3c81cdb18ffe3d2debfee968731a8b5f4
Parent:     df64c47184aedf34fd2a69a4b7f68584fe982fdf
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 19:43:21 2007 +0200
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Oct 25 12:18:44 2007 -0700

    USB: fix ssb_ohci_probe() build bug
    
    fix ssb_ohci_probe() build bug:
    
     drivers/built-in.o: In function `ssb_ohci_probe':
     ohci-hcd.c:(.text+0xbff39): undefined reference to `ssb_device_enable'
     ohci-hcd.c:(.text+0xbff6f): undefined reference to `ssb_admatch_base'
     ohci-hcd.c:(.text+0xbff8b): undefined reference to `ssb_admatch_size'
     ohci-hcd.c:(.text+0xbffe5): undefined reference to `ssb_device_disable'
     [...]
    
    the reason was that this Kconfig combination was allowed:
    
     CONFIG_SSB=m
     CONFIG_USB_OHCI_HCD=y
     CONFIG_USB_OHCI_HCD_SSB=y
    
    the fix is to require a modular USB_OHCI_HCD build when SSB is modular.
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Acked-by: Michael Buesch <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/host/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index c978d62..177e78e 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -156,7 +156,7 @@ config USB_OHCI_HCD_PCI
 
 config USB_OHCI_HCD_SSB
        bool "OHCI support for Broadcom SSB OHCI core"
-       depends on USB_OHCI_HCD && SSB && EXPERIMENTAL
+       depends on USB_OHCI_HCD && (SSB = y || SSB = CONFIG_USB_OHCI_HCD) && 
EXPERIMENTAL
        default n
        ---help---
          Support for the Sonics Silicon Backplane (SSB) attached
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to