diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-03 15:59:23 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-03 15:59:23 +0000 |
commit | 26d1c866b139e5f426de155a4c1765daaaeef62e (patch) | |
tree | 53a3291f863a7cbbe4658a3319483a6f00446838 /target/linux/adm5120-2.6/files/arch/mips/adm5120 | |
parent | 8aab380dded91464d39d1ad1221b75d8a50ed539 (diff) |
[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/mips/adm5120')
-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 e3d051360..50b0d1857 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, |