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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user