Commit 8f785e85 authored by Uwe Kleine-König's avatar Uwe Kleine-König

ARM: imx1: rename imx_i2c_device to follow a common naming scheme

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 68a9c5ba
...@@ -66,7 +66,7 @@ static struct resource imx_i2c_resources[] = { ...@@ -66,7 +66,7 @@ static struct resource imx_i2c_resources[] = {
}, },
}; };
struct platform_device imx_i2c_device = { struct platform_device imx_i2c_device0 = {
.name = "imx-i2c", .name = "imx-i2c",
.id = 0, .id = 0,
.resource = imx_i2c_resources, .resource = imx_i2c_resources,
......
extern struct platform_device imx1_camera_device; extern struct platform_device imx1_camera_device;
extern struct platform_device imx_i2c_device; extern struct platform_device imx_i2c_device0;
extern struct platform_device imx_uart1_device; extern struct platform_device imx_uart1_device;
extern struct platform_device imx_uart2_device; extern struct platform_device imx_uart2_device;
extern struct platform_device imx_rtc_device; extern struct platform_device imx_rtc_device;
......
...@@ -131,7 +131,7 @@ static void __init mx1ads_init(void) ...@@ -131,7 +131,7 @@ static void __init mx1ads_init(void)
i2c_register_board_info(0, mx1ads_i2c_devices, i2c_register_board_info(0, mx1ads_i2c_devices,
ARRAY_SIZE(mx1ads_i2c_devices)); ARRAY_SIZE(mx1ads_i2c_devices));
mxc_register_device(&imx_i2c_device, &mx1ads_i2c_data); mxc_register_device(&imx_i2c_device0, &mx1ads_i2c_data);
} }
static void __init mx1ads_timer_init(void) static void __init mx1ads_timer_init(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