aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-12 12:48:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-12 12:48:31 +0000
commitada827ea0225d332c59c1b0e261ef465606269b6 (patch)
tree19277964ed2b31fa2de498b5ec1ef324bb184873 /target/linux/ramips
parentf5cbc0457a3f681de1a329531e50c711c479c412 (diff)
downloadupstream-ada827ea0225d332c59c1b0e261ef465606269b6.tar.gz
upstream-ada827ea0225d332c59c1b0e261ef465606269b6.tar.bz2
upstream-ada827ea0225d332c59c1b0e261ef465606269b6.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
index bebab8171a..2e884c39e2 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
@@ -352,7 +352,7 @@ static struct resource rt3352_ehci_resources[] = {
static u64 rt3352_ehci_dmamask = DMA_BIT_MASK(32);
static struct platform_device rt3352_ehci_device = {
- .name = "rt3352-ehci",
+ .name = "rt3883-ehci",
.id = -1,
.resource = 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 struct platform_device rt3352_ohci_device = {
- .name = "rt3352-ohci",
+ .name = "rt3883-ohci",
.id = -1,
.resource = rt3352_ohci_resources,
.num_resources = ARRAY_SIZE(rt3352_ohci_resources),