Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: buildfix ppc randconfig

We could just make the USB_OHCI_HCD_PPC_OF option implicit
and selected only if at least one of USB_OHCI_HCD_PPC_OF_BE
and USB_OHCI_HCD_PPC_OF_LE are set.

[ dbrownell@users.sourceforge.net: fix patch manglation and dependencies ]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Arnd Bergmann and committed by
Greg Kroah-Hartman
45e83889 3c43f27b

+15 -14
+15 -14
drivers/usb/host/Kconfig
··· 181 181 Enables support for the USB controller on the MPC52xx or 182 182 STB03xxx processor chip. If unsure, say Y. 183 183 184 - config USB_OHCI_HCD_PPC_OF 185 - bool "OHCI support for PPC USB controller on OF platform bus" 186 - depends on USB_OHCI_HCD && PPC_OF 187 - default y 188 - ---help--- 189 - Enables support for the USB controller PowerPC present on the 190 - OpenFirmware platform bus. 191 - 192 184 config USB_OHCI_HCD_PPC_OF_BE 193 - bool "Support big endian HC" 194 - depends on USB_OHCI_HCD_PPC_OF 195 - default y 185 + bool "OHCI support for OF platform bus (big endian)" 186 + depends on USB_OHCI_HCD && PPC_OF 196 187 select USB_OHCI_BIG_ENDIAN_DESC 197 188 select USB_OHCI_BIG_ENDIAN_MMIO 189 + ---help--- 190 + Enables support for big-endian USB controllers present on the 191 + OpenFirmware platform bus. 198 192 199 193 config USB_OHCI_HCD_PPC_OF_LE 200 - bool "Support little endian HC" 201 - depends on USB_OHCI_HCD_PPC_OF 202 - default n 194 + bool "OHCI support for OF platform bus (little endian)" 195 + depends on USB_OHCI_HCD && PPC_OF 203 196 select USB_OHCI_LITTLE_ENDIAN 197 + ---help--- 198 + Enables support for little-endian USB controllers present on the 199 + OpenFirmware platform bus. 200 + 201 + config USB_OHCI_HCD_PPC_OF 202 + bool 203 + depends on USB_OHCI_HCD && PPC_OF 204 + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE 204 205 205 206 config USB_OHCI_HCD_PCI 206 207 bool "OHCI support for PCI-bus USB controllers"