From 26d1c866b139e5f426de155a4c1765daaaeef62e Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 3 Aug 2007 15:59:23 +0000 Subject: [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 --- target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/adm5120-2.6/files/arch/mips/adm5120') 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, -- cgit v1.2.3