| To: | stern@rowland.harvard.edu |
|---|---|
| Subject: | [PATCH 26/32] USB: move common alchemy USB routines to arch/mips/alchemy/common.c |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Fri, 5 Oct 2012 18:20:58 +0200 |
| Cc: | linux-usb@vger.kernel.org, Florian Fainelli <florian@openwrt.org>, Ralf Baechle <ralf@linux-mips.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Manuel Lauss <manuel.lauss@googlemail.com>, Hauke Mehrtens <hauke@hauke-m.de>, Sarah Sharp <sarah.a.sharp@linux.intel.com>, Felipe Balbi <balbi@ti.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| In-reply-to: | <1349454064-11606-1-git-send-email-florian@openwrt.org> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1349454064-11606-1-git-send-email-florian@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
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> --- arch/mips/alchemy/common/Makefile | 2 +- .../mips/alchemy/common/usb.c | 0 drivers/usb/host/Makefile | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) rename drivers/usb/host/alchemy-common.c => arch/mips/alchemy/common/usb.c (100%) diff --git a/arch/mips/alchemy/common/Makefile b/arch/mips/alchemy/common/Makefile index 407ebc0..cb83d8d 100644 --- a/arch/mips/alchemy/common/Makefile +++ b/arch/mips/alchemy/common/Makefile @@ -6,7 +6,7 @@ # obj-y += prom.o time.o clocks.o platform.o power.o setup.o \ - sleeper.o dma.o dbdma.o vss.o irq.o + sleeper.o dma.o dbdma.o vss.o irq.o usb.o # optional gpiolib support ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),) diff --git a/drivers/usb/host/alchemy-common.c b/arch/mips/alchemy/common/usb.c similarity index 100% rename from drivers/usb/host/alchemy-common.c rename to arch/mips/alchemy/common/usb.c diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index 9e0a89c..332ed89 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -40,6 +40,5 @@ obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o obj-$(CONFIG_USB_OCTEON2_COMMON) += octeon2-common.o -obj-$(CONFIG_MIPS_ALCHEMY) += alchemy-common.o obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o -- 1.7.9.5 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 24/32 v3] MIPS: Alchemy: use the OHCI platform driver, Florian Fainelli |
|---|---|
| Next by Date: | [PATCH] Partially revert a1ce39288e6fbef (UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers), David Daney |
| Previous by Thread: | [PATCH 24/32 v3] MIPS: Alchemy: use the OHCI platform driver, Florian Fainelli |
| Next by Thread: | [PATCH] Partially revert a1ce39288e6fbef (UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers), David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |