]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: imx: eukrea_mbimxsd rename to eukrea_mbimxsd51
authorEric Bénard <eric@eukrea.com>
Tue, 8 May 2012 07:20:27 +0000 (09:20 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 8 May 2012 15:31:25 +0000 (17:31 +0200)
this makes the mbimxsd51 board naming consistant with others

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c [moved from arch/arm/mach-imx/eukrea_mbimxsd-baseboard.c with 84% similarity]

index 55303d96d322a45e72bc2844f8e22b061cfe3c1a..4937c070a57e4cd2e0871449f2391d882d4bb5bd 100644 (file)
@@ -84,7 +84,7 @@ obj-$(CONFIG_MACH_MX53_SMD) += mach-mx53_smd.o
 obj-$(CONFIG_MACH_MX53_LOCO) += mach-mx53_loco.o
 obj-$(CONFIG_MACH_MX53_ARD) += mach-mx53_ard.o
 obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += mach-cpuimx51sd.o
-obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd-baseboard.o
+obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd51-baseboard.o
 obj-$(CONFIG_MX51_EFIKA_COMMON) += mx51_efika.o
 obj-$(CONFIG_MACH_MX51_EFIKAMX) += mach-mx51_efikamx.o
 obj-$(CONFIG_MACH_MX51_EFIKASB) += mach-mx51_efikasb.o
similarity index 84%
rename from arch/arm/mach-imx/eukrea_mbimxsd-baseboard.c
rename to arch/arm/mach-imx/eukrea_mbimxsd51-baseboard.c
index 920e42a9389fcfb67143aa45fc649ca402d86679..96a24b73dc2309fc109c346524d22e39b84e3b67 100644 (file)
@@ -42,7 +42,7 @@
 
 #include "devices-imx51.h"
 
-static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = {
+static iomux_v3_cfg_t eukrea_mbimxsd51_pads[] = {
        /* LED */
        MX51_PAD_NANDF_D10__GPIO3_30,
        /* SWITCH */
@@ -125,7 +125,7 @@ static struct platform_device eukrea_mbimxsd51_bl_dev = {
        },
 };
 
-static const struct gpio_led eukrea_mbimxsd_leds[] __initconst = {
+static const struct gpio_led eukrea_mbimxsd51_leds[] __initconst = {
        {
                .name                   = "led1",
                .default_trigger        = "heartbeat",
@@ -135,12 +135,12 @@ static const struct gpio_led eukrea_mbimxsd_leds[] __initconst = {
 };
 
 static const struct gpio_led_platform_data
-               eukrea_mbimxsd_led_info __initconst = {
-       .leds           = eukrea_mbimxsd_leds,
-       .num_leds       = ARRAY_SIZE(eukrea_mbimxsd_leds),
+               eukrea_mbimxsd51_led_info __initconst = {
+       .leds           = eukrea_mbimxsd51_leds,
+       .num_leds       = ARRAY_SIZE(eukrea_mbimxsd51_leds),
 };
 
-static struct gpio_keys_button eukrea_mbimxsd_gpio_buttons[] = {
+static struct gpio_keys_button eukrea_mbimxsd51_gpio_buttons[] = {
        {
                .gpio           = GPIO_SWITCH1,
                .code           = BTN_0,
@@ -151,23 +151,23 @@ static struct gpio_keys_button eukrea_mbimxsd_gpio_buttons[] = {
 };
 
 static const struct gpio_keys_platform_data
-               eukrea_mbimxsd_button_data __initconst = {
-       .buttons        = eukrea_mbimxsd_gpio_buttons,
-       .nbuttons       = ARRAY_SIZE(eukrea_mbimxsd_gpio_buttons),
+               eukrea_mbimxsd51_button_data __initconst = {
+       .buttons        = eukrea_mbimxsd51_gpio_buttons,
+       .nbuttons       = ARRAY_SIZE(eukrea_mbimxsd51_gpio_buttons),
 };
 
 static const struct imxuart_platform_data uart_pdata __initconst = {
        .flags = IMXUART_HAVE_RTSCTS,
 };
 
-static struct i2c_board_info eukrea_mbimxsd_i2c_devices[] = {
+static struct i2c_board_info eukrea_mbimxsd51_i2c_devices[] = {
        {
                I2C_BOARD_INFO("tlv320aic23", 0x1a),
        },
 };
 
 static const
-struct imx_ssi_platform_data eukrea_mbimxsd_ssi_pdata __initconst = {
+struct imx_ssi_platform_data eukrea_mbimxsd51_ssi_pdata __initconst = {
        .flags = IMX_SSI_SYN | IMX_SSI_NET | IMX_SSI_USE_I2S_SLAVE,
 };
 
@@ -192,8 +192,8 @@ __setup("screen_type=", eukrea_mbimxsd51_screen_type);
  */
 void __init eukrea_mbimxsd51_baseboard_init(void)
 {
-       if (mxc_iomux_v3_setup_multiple_pads(eukrea_mbimxsd_pads,
-                       ARRAY_SIZE(eukrea_mbimxsd_pads)))
+       if (mxc_iomux_v3_setup_multiple_pads(eukrea_mbimxsd51_pads,
+                       ARRAY_SIZE(eukrea_mbimxsd51_pads)))
                printk(KERN_ERR "error setting mbimxsd pads !\n");
 
        imx51_add_imx_uart(1, NULL);
@@ -201,7 +201,7 @@ void __init eukrea_mbimxsd51_baseboard_init(void)
 
        imx51_add_sdhci_esdhc_imx(0, NULL);
 
-       imx51_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata);
+       imx51_add_imx_ssi(0, &eukrea_mbimxsd51_ssi_pdata);
 
        gpio_request(GPIO_LED1, "LED1");
        gpio_direction_output(GPIO_LED1, 1);
@@ -223,9 +223,9 @@ void __init eukrea_mbimxsd51_baseboard_init(void)
                gpio_free(GPIO_LCDBL);
        }
 
-       i2c_register_board_info(0, eukrea_mbimxsd_i2c_devices,
-                               ARRAY_SIZE(eukrea_mbimxsd_i2c_devices));
+       i2c_register_board_info(0, eukrea_mbimxsd51_i2c_devices,
+                               ARRAY_SIZE(eukrea_mbimxsd51_i2c_devices));
 
-       gpio_led_register_device(-1, &eukrea_mbimxsd_led_info);
-       imx_add_gpio_keys(&eukrea_mbimxsd_button_data);
+       gpio_led_register_device(-1, &eukrea_mbimxsd51_led_info);
+       imx_add_gpio_keys(&eukrea_mbimxsd51_button_data);
 }