]> err.no Git - linux-2.6/commitdiff
[ARM] 3658/1: S3C244X: Change usb-gadget name to s3c2440-usbgadget
authorBen Dooks <ben-linux@fluff.org>
Tue, 27 Jun 2006 21:53:03 +0000 (22:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 28 Jun 2006 16:54:53 +0000 (17:54 +0100)
Patch from Ben Dooks

The S3C2440 and S3C2442 have an extended USB gadget
controller, so re-name the platform device to inform
the driver that it needs to change some parameters

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/s3c244x.c

index 838bc525e83698c912c188104164d3fb6e48bbf1..9a2258270de9cb1e7e9d12b9b45b90f9092d3582 100644 (file)
@@ -69,6 +69,7 @@ void __init s3c244x_map_io(struct map_desc *mach_desc, int size)
 
        s3c_device_i2c.name  = "s3c2440-i2c";
        s3c_device_nand.name = "s3c2440-nand";
+       s3c_device_usbgadget.name = "s3c2440-usbgadget";
 }
 
 void __init s3c244x_init_clocks(int xtal)