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

USB: move common alchemy USB routines to arch/mips/alchemy/common.c

A previous patch converted the Alchemy platform to use the OHCI and EHCI
platform drivers. As a result, all the common logic to handle USB present in
drivers/usb/host/alchemy-common.c has no reason to remain here, so we move it
to arch/mips/alchemy/common/usb.c which is a more appropriate place. This
change was suggested by Manuel Lauss.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Florian Fainelli and committed by
Greg Kroah-Hartman
216d0fde bb5da43e

+1 -2
+1 -1
arch/mips/alchemy/common/Makefile
··· 6 6 # 7 7 8 8 obj-y += prom.o time.o clocks.o platform.o power.o setup.o \ 9 - sleeper.o dma.o dbdma.o vss.o irq.o 9 + sleeper.o dma.o dbdma.o vss.o irq.o usb.o 10 10 11 11 # optional gpiolib support 12 12 ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
-1
drivers/usb/host/Makefile
··· 40 40 obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o 41 41 obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o 42 42 obj-$(CONFIG_USB_OCTEON2_COMMON) += octeon2-common.o 43 - obj-$(CONFIG_MIPS_ALCHEMY) += alchemy-common.o 44 43 obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o 45 44 obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o
drivers/usb/host/alchemy-common.c arch/mips/alchemy/common/usb.c