summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/usb-da8xx.c
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2016-11-03 17:03:06 +0100
committerSekhar Nori <nsekhar@ti.com>2016-11-23 17:34:06 +0530
commit8439a1d77d07514fadc616a2691b5d130ce0b678 (patch)
treef74a69d5139e8587a18aabb784c65c506be5ddb6 /arch/arm/mach-davinci/usb-da8xx.c
parent7e431af8fa0b9ed9d74378c99514856211cb9db8 (diff)
ARM: davinci: da8xx: Fix ohci device name
While the clk lookup table is making reference to "ohci" other subsystems (such as phy) are trying to match "ohci.0" Since there is a single ohci instance, instead of changing the clk name, change the dev id to -1, and add the "-da8xx" postfix to match the driver name that will also be changed in a subsequent patch. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/usb-da8xx.c')
-rw-r--r--arch/arm/mach-davinci/usb-da8xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/usb-da8xx.c b/arch/arm/mach-davinci/usb-da8xx.c
index b010e5f80c5f..c6feecf7ae24 100644
--- a/arch/arm/mach-davinci/usb-da8xx.c
+++ b/arch/arm/mach-davinci/usb-da8xx.c
@@ -109,8 +109,8 @@ static struct resource da8xx_usb11_resources[] = {
static u64 da8xx_usb11_dma_mask = DMA_BIT_MASK(32);
static struct platform_device da8xx_usb11_device = {
- .name = "ohci",
- .id = 0,
+ .name = "ohci-da8xx",
+ .id = -1,
.dev = {
.dma_mask = &da8xx_usb11_dma_mask,
.coherent_dma_mask = DMA_BIT_MASK(32),