diff options
Diffstat (limited to 'arch/arm/mach-pxa/magician.c')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 5360c07f5138..e81dd0c8e40d 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -88,26 +88,7 @@ static unsigned long magician_pin_config[] __initdata = { | |||
88 | GPIO112_MMC_CMD, | 88 | GPIO112_MMC_CMD, |
89 | 89 | ||
90 | /* LCD */ | 90 | /* LCD */ |
91 | GPIO58_LCD_LDD_0, | 91 | GPIOxx_LCD_TFT_16BPP, |
92 | GPIO59_LCD_LDD_1, | ||
93 | GPIO60_LCD_LDD_2, | ||
94 | GPIO61_LCD_LDD_3, | ||
95 | GPIO62_LCD_LDD_4, | ||
96 | GPIO63_LCD_LDD_5, | ||
97 | GPIO64_LCD_LDD_6, | ||
98 | GPIO65_LCD_LDD_7, | ||
99 | GPIO66_LCD_LDD_8, | ||
100 | GPIO67_LCD_LDD_9, | ||
101 | GPIO68_LCD_LDD_10, | ||
102 | GPIO69_LCD_LDD_11, | ||
103 | GPIO70_LCD_LDD_12, | ||
104 | GPIO71_LCD_LDD_13, | ||
105 | GPIO72_LCD_LDD_14, | ||
106 | GPIO73_LCD_LDD_15, | ||
107 | GPIO74_LCD_FCLK, | ||
108 | GPIO75_LCD_LCLK, | ||
109 | GPIO76_LCD_PCLK, | ||
110 | GPIO77_LCD_BIAS, | ||
111 | 92 | ||
112 | /* QCI */ | 93 | /* QCI */ |
113 | GPIO12_CIF_DD_7, | 94 | GPIO12_CIF_DD_7, |
@@ -381,7 +362,7 @@ err: | |||
381 | return ret; | 362 | return ret; |
382 | } | 363 | } |
383 | 364 | ||
384 | static int magician_backlight_notify(int brightness) | 365 | static int magician_backlight_notify(struct device *dev, int brightness) |
385 | { | 366 | { |
386 | gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); | 367 | gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); |
387 | if (brightness >= 200) { | 368 | if (brightness >= 200) { |
@@ -742,6 +723,10 @@ static void __init magician_init(void) | |||
742 | 723 | ||
743 | pxa2xx_mfp_config(ARRAY_AND_SIZE(magician_pin_config)); | 724 | pxa2xx_mfp_config(ARRAY_AND_SIZE(magician_pin_config)); |
744 | 725 | ||
726 | pxa_set_ffuart_info(NULL); | ||
727 | pxa_set_btuart_info(NULL); | ||
728 | pxa_set_stuart_info(NULL); | ||
729 | |||
745 | platform_add_devices(ARRAY_AND_SIZE(devices)); | 730 | platform_add_devices(ARRAY_AND_SIZE(devices)); |
746 | 731 | ||
747 | err = gpio_request(GPIO83_MAGICIAN_nIR_EN, "nIR_EN"); | 732 | err = gpio_request(GPIO83_MAGICIAN_nIR_EN, "nIR_EN"); |