This patch fixes a bug introduced by
commit b22817b3c81cdb18ffe3d2debfee968731a8b5f4.
Signed-off-by: Adrian Bunk <[email protected]>
---
155ad66379582067ef2ce73d28e3cf6eedf21b14
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 177e78e..49a91c5 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 = y || SSB = CONFIG_USB_OHCI_HCD) && EXPERIMENTAL
+ depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
default n
---help---
Support for the Sonics Silicon Backplane (SSB) attached
* Adrian Bunk <[email protected]> wrote:
> - depends on USB_OHCI_HCD && (SSB = y || SSB = CONFIG_USB_OHCI_HCD) && EXPERIMENTAL
> + depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
oops, indeed ... my Kconfig fu needs strengthening. Does Kconfig warn
somewhere if it sees an erroneous CONFIG_ token?
Ingo
On Sat, Oct 27, 2007 at 10:57:48AM +0200, Ingo Molnar wrote:
>
> * Adrian Bunk <[email protected]> wrote:
>
> > - depends on USB_OHCI_HCD && (SSB = y || SSB = CONFIG_USB_OHCI_HCD) && EXPERIMENTAL
> > + depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
>
> oops, indeed ... my Kconfig fu needs strengthening. Does Kconfig warn
> somewhere if it sees an erroneous CONFIG_ token?
No. IIRC Sam was working in getting warnings for such things, but
currently kconfig simply can't know whether it's a bug or OK.
> Ingo
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Adrian Bunk wrote:
> On Sat, Oct 27, 2007 at 10:57:48AM +0200, Ingo Molnar wrote:
>
>> * Adrian Bunk <[email protected]> wrote:
>>
>>
>>> - depends on USB_OHCI_HCD && (SSB = y || SSB = CONFIG_USB_OHCI_HCD) && EXPERIMENTAL
>>> + depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
>>>
>> oops, indeed ... my Kconfig fu needs strengthening. Does Kconfig warn
>> somewhere if it sees an erroneous CONFIG_ token?
>>
>
> No. IIRC Sam was working in getting warnings for such things, but
> currently kconfig simply can't know whether it's a bug or OK.
>
Are there any instances of CONFIG_CONFIG_X? Doesn't seem like a
terribly sensible name...
J
On Sun, 28 Oct 2007, Jeremy Fitzhardinge wrote:
> Adrian Bunk wrote:
> > On Sat, Oct 27, 2007 at 10:57:48AM +0200, Ingo Molnar wrote:
> >
> >> * Adrian Bunk <[email protected]> wrote:
> >>
> >>
> >>> - depends on USB_OHCI_HCD && (SSB = y || SSB = CONFIG_USB_OHCI_HCD) && EXPERIMENTAL
> >>> + depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
> >>>
> >> oops, indeed ... my Kconfig fu needs strengthening. Does Kconfig warn
> >> somewhere if it sees an erroneous CONFIG_ token?
> >>
> >
> > No. IIRC Sam was working in getting warnings for such things, but
> > currently kconfig simply can't know whether it's a bug or OK.
>
> Are there any instances of CONFIG_CONFIG_X? Doesn't seem like a
> terribly sensible name...
there used to be:
http://lists.linuxcoding.com/kernel/2006-q1/msg18685.html
but that was just the one, and it's gone now.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================