aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/mx31lilly-db.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-11-21 18:40:40 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-23 11:51:00 +0100
commit2cc326833f616ee49f73be94d4bf0ab1bc9a72d9 (patch)
treece5347834be2483b4bed3c778e1e672aa1c65a03 /arch/arm/mach-mx3/mx31lilly-db.c
parent6d3e6601ba0ff6ca804d3c103164624618cab4a9 (diff)
ARM: MX3: lilly1131: move MC13783 device registration
Register the MC13783 device in the module code. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mx31lilly-db.c')
-rw-r--r--arch/arm/mach-mx3/mx31lilly-db.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-mx3/mx31lilly-db.c b/arch/arm/mach-mx3/mx31lilly-db.c
index bb1e44f5d30..7aebd74a12e 100644
--- a/arch/arm/mach-mx3/mx31lilly-db.c
+++ b/arch/arm/mach-mx3/mx31lilly-db.c
@@ -29,8 +29,6 @@
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
-#include <linux/spi/spi.h>
-#include <linux/mfd/mc13783.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -214,22 +212,6 @@ static void __init mx31lilly_init_fb(void)
gpio_direction_output(LCD_VCC_EN_GPIO, 1);
}
-/* SPI */
-
-static struct mc13783_platform_data mc13783_pdata __initdata = {
- .flags = MC13783_USE_RTC | MC13783_USE_TOUCHSCREEN,
-};
-
-static struct spi_board_info lilly_spi_devs[] __initdata = {
- {
- .modalias = "mc13783",
- .max_speed_hz = 1000000,
- .bus_num = 1,
- .chip_select = 0,
- .platform_data = &mc13783_pdata,
- },
-};
-
void __init mx31lilly_db_init(void)
{
mxc_iomux_setup_multiple_pins(lilly_db_board_pins,
@@ -240,6 +222,5 @@ void __init mx31lilly_db_init(void)
mxc_register_device(&mxc_uart_device2, &uart_pdata);
mxc_register_device(&mxcsdhc_device0, &mmc_pdata);
mx31lilly_init_fb();
- spi_register_board_info(lilly_spi_devs, ARRAY_SIZE(lilly_spi_devs));
}