usb: Sparc build fix, make USB_ISP1760_OF depend on PPC_OF

Previous thread: sbus: Fix bpp driver build. by Linux Kernel Mailing List on Wednesday, May 7, 2008 - 8:59 pm. (1 message)

Next thread: sparc: Fix mmap VA span checking. by Linux Kernel Mailing List on Wednesday, May 7, 2008 - 8:59 pm. (1 message)
To: <git-commits-head@...>
Date: Wednesday, May 7, 2008 - 8:59 pm

Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=c...
Commit: 3eb6753e20af1803d7784efc36e8208e8d5fac05
Parent: abdefbdbd5c683ddcb1dd0d3dd414d02f078a5da
Author: David S. Miller <davem@davemloft.net>
AuthorDate: Tue May 6 15:15:12 2008 -0700
Committer: David S. Miller <davem@davemloft.net>
CommitDate: Tue May 6 15:15:12 2008 -0700

usb: Sparc build fix, make USB_ISP1760_OF depend on PPC_OF

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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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.
--

Previous thread: sbus: Fix bpp driver build. by Linux Kernel Mailing List on Wednesday, May 7, 2008 - 8:59 pm. (1 message)

Next thread: sparc: Fix mmap VA span checking. by Linux Kernel Mailing List on Wednesday, May 7, 2008 - 8:59 pm. (1 message)