diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-08-03 15:59:23 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-08-03 15:59:23 +0000 |
commit | 1ac768c62f5deb88c0bc04e85fb40eeb6aa65ff1 (patch) | |
tree | 53a3291f863a7cbbe4658a3319483a6f00446838 /target/linux/adm5120-2.6/files/arch | |
parent | a61aa8aa1918fce19e571f2f36db930b3b4027d4 (diff) | |
download | upstream-1ac768c62f5deb88c0bc04e85fb40eeb6aa65ff1.tar.gz upstream-1ac768c62f5deb88c0bc04e85fb40eeb6aa65ff1.tar.bz2 upstream-1ac768c62f5deb88c0bc04e85fb40eeb6aa65ff1.zip |
[adm5120] USB driver fixes
* fix compiler warning in adm5120-hcd.c
* allocate mem_resource with the correct size
* fix driver name in the platform device structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8331 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c index e3d0513605..50b0d18574 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c @@ -97,7 +97,7 @@ struct resource adm5120_usbc_resources[] = { }; struct platform_device adm5120_usbc_device = { - .name = "adm5120-usbc", + .name = "adm5120-hcd", .id = -1, .num_resources = ARRAY_SIZE(adm5120_usbc_resources), .resource = adm5120_usbc_resources, |