ramips: rename rt3352 usb platform devices

In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33145
owl
Gabor Juhos 2012-08-12 12:48:31 +00:00
parent 1525620b0e
commit 82759a1716
1 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ static struct resource rt3352_ehci_resources[] = {
static u64 rt3352_ehci_dmamask = DMA_BIT_MASK(32); static u64 rt3352_ehci_dmamask = DMA_BIT_MASK(32);
static struct platform_device rt3352_ehci_device = { static struct platform_device rt3352_ehci_device = {
.name = "rt3352-ehci", .name = "rt3883-ehci",
.id = -1, .id = -1,
.resource = rt3352_ehci_resources, .resource = rt3352_ehci_resources,
.num_resources = ARRAY_SIZE(rt3352_ehci_resources), .num_resources = ARRAY_SIZE(rt3352_ehci_resources),
@ -382,7 +382,7 @@ static struct rt3883_ohci_platform_data rt3352_ohci_data = {
static u64 rt3352_ohci_dmamask = DMA_BIT_MASK(32); static u64 rt3352_ohci_dmamask = DMA_BIT_MASK(32);
static struct platform_device rt3352_ohci_device = { static struct platform_device rt3352_ohci_device = {
.name = "rt3352-ohci", .name = "rt3883-ohci",
.id = -1, .id = -1,
.resource = rt3352_ohci_resources, .resource = rt3352_ohci_resources,
.num_resources = ARRAY_SIZE(rt3352_ohci_resources), .num_resources = ARRAY_SIZE(rt3352_ohci_resources),