aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks2008-05-21 10:24:17 +0100
committerRussell King2008-05-22 14:17:22 +0100
commit90239bbd598c6a0fc7f2c7352e9886bd3be968d0 (patch)
treea8dc1087adecdbd4a9808696f7b767a7e411423e
parent4ba35fbe293be319b1a5d97951e567c0d9527d09 (diff)
[ARM] 5039/1: S3C244X: Rename SDI device if running on S3C244X.
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>
-rw-r--r--arch/arm/plat-s3c24xx/s3c244x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/s3c244x.c b/arch/arm/plat-s3c24xx/s3c244x.c
index f197bb3a2366..2f01af5f64c4 100644
--- a/arch/arm/plat-s3c24xx/s3c244x.c
+++ b/arch/arm/plat-s3c24xx/s3c244x.c
@@ -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";