]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
usb: Sparc build fix, make USB_ISP1760_OF depend on PPC_OF
authorDavid S. Miller <davem@davemloft.net>
Tue, 6 May 2008 22:15:12 +0000 (15:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 May 2008 22:15:12 +0000 (15:15 -0700)
Sparc doesn't have some of the OF interfaces this driver
wants to use.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/usb/host/Kconfig

index 33b467a8352dc95892b09dba5a023d64968ebc1f..1ef6df395e0c83954351fa2dcec9d260a6c97a52 100644 (file)
@@ -129,7 +129,7 @@ config USB_ISP1760_PCI
 
 config USB_ISP1760_OF
        bool "Support for the OF platform bus"
-       depends on USB_ISP1760_HCD && OF
+       depends on USB_ISP1760_HCD && PPC_OF
        ---help---
          Enables support for the device present on the PowerPC
          OpenFirmware platform bus.