1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[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
This commit is contained in:
juhosg
2007-08-03 15:59:23 +00:00
parent 8aab380dde
commit 26d1c866b1
2 changed files with 11 additions and 11 deletions

View File

@@ -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,