[ARM] 5039/1: S3C244X: Rename SDI device if running on S3C244X.
authorBen Dooks <ben-linux@fluff.org>
Wed, 21 May 2008 09:24:17 +0000 (10:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2008 13:17:22 +0000 (14:17 +0100)
Rename the SDI device if on an S3C2440 or S3C2442.

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

index f197bb3a2366c980e6cf66d2042b7c19c524f4ee..2f01af5f64c4e2e05b0bde54b69c36b8e5372fb6 100644 (file)
@@ -65,6 +65,7 @@ void __init s3c244x_map_io(struct map_desc *mach_desc, int size)
 
        /* rename any peripherals used differing from the s3c2410 */
 
+       s3c_device_sdi.name  = "s3c2440-sdi";
        s3c_device_i2c.name  = "s3c2440-i2c";
        s3c_device_nand.name = "s3c2440-nand";
        s3c_device_usbgadget.name = "s3c2440-usbgadget";