usb: Sparc build fix, make USB_ISP1760_OF depend on PPC_OF

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, May 7, 2008 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3eb675...
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.
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
usb: Sparc build fix, make USB_ISP1760_OF depend on PPC_OF, Linux Kernel Mailing ..., (Wed May 7, 5:59 pm)