Commit ff34aaa9 authored by Ben Dooks's avatar Ben Dooks

ARM: H1940: Correct name of the local platform devices for LED and Bluetooth

The mach-h1940.c file was using s3c_device_ where it really should be
calling these local definitions h1940_device to ensure they are not
mistaken for real s3c_devices when the device change is done.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent cf383678
...@@ -171,12 +171,12 @@ static struct s3c2410fb_mach_info h1940_fb_info __initdata = { ...@@ -171,12 +171,12 @@ static struct s3c2410fb_mach_info h1940_fb_info __initdata = {
.gpdup_mask= 0xffffffff, .gpdup_mask= 0xffffffff,
}; };
static struct platform_device s3c_device_leds = { static struct platform_device h1940_device_leds = {
.name = "h1940-leds", .name = "h1940-leds",
.id = -1, .id = -1,
}; };
static struct platform_device s3c_device_bluetooth = { static struct platform_device h1940_device_bluetooth = {
.name = "h1940-bt", .name = "h1940-bt",
.id = -1, .id = -1,
}; };
...@@ -188,8 +188,8 @@ static struct platform_device *h1940_devices[] __initdata = { ...@@ -188,8 +188,8 @@ static struct platform_device *h1940_devices[] __initdata = {
&s3c_device_i2c0, &s3c_device_i2c0,
&s3c_device_iis, &s3c_device_iis,
&s3c_device_usbgadget, &s3c_device_usbgadget,
&s3c_device_leds, &h1940_device_leds,
&s3c_device_bluetooth, &h1940_device_bluetooth,
}; };
static void __init h1940_map_io(void) static void __init h1940_map_io(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment