[PATCH]: PPC_OF protect USB driver...
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon May 5 18:26:49 EST 2008
On Mon, 2008-05-05 at 00:57 -0700, David Miller wrote:
> This uses APIs that are not generic, or at least not part of
> what Sparc provides yet.
>
> So just PPC_OF this for now just like the EHCI_OF driver.
>
> This fixes allmodconfig build errors on sparc.
>
> Signed-off-by: David S. Miller <davem at davemloft.net>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
>
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 33b467a..1ef6df3 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -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.
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list