diff options
Diffstat (limited to 'arch/arm/mach-pxa/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 233629edf7ee..3d91d2e5bf3a 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -927,8 +927,6 @@ static void tosa_restart(char mode, const char *cmd) | |||
927 | 927 | ||
928 | static void __init tosa_init(void) | 928 | static void __init tosa_init(void) |
929 | { | 929 | { |
930 | int dummy; | ||
931 | |||
932 | pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config)); | 930 | pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config)); |
933 | 931 | ||
934 | pxa_set_ffuart_info(NULL); | 932 | pxa_set_ffuart_info(NULL); |
@@ -947,10 +945,6 @@ static void __init tosa_init(void) | |||
947 | /* enable batt_fault */ | 945 | /* enable batt_fault */ |
948 | PMCR = 0x01; | 946 | PMCR = 0x01; |
949 | 947 | ||
950 | dummy = gpiochip_reserve(TOSA_SCOOP_GPIO_BASE, 12); | ||
951 | dummy = gpiochip_reserve(TOSA_SCOOP_JC_GPIO_BASE, 12); | ||
952 | dummy = gpiochip_reserve(TOSA_TC6393XB_GPIO_BASE, 16); | ||
953 | |||
954 | pxa_set_mci_info(&tosa_mci_platform_data); | 948 | pxa_set_mci_info(&tosa_mci_platform_data); |
955 | pxa_set_ficp_info(&tosa_ficp_platform_data); | 949 | pxa_set_ficp_info(&tosa_ficp_platform_data); |
956 | pxa_set_i2c_info(NULL); | 950 | pxa_set_i2c_info(NULL); |
@@ -982,6 +976,6 @@ MACHINE_START(TOSA, "SHARP Tosa") | |||
982 | .init_irq = pxa25x_init_irq, | 976 | .init_irq = pxa25x_init_irq, |
983 | .handle_irq = pxa25x_handle_irq, | 977 | .handle_irq = pxa25x_handle_irq, |
984 | .init_machine = tosa_init, | 978 | .init_machine = tosa_init, |
985 | .timer = &pxa_timer, | 979 | .init_time = pxa_timer_init, |
986 | .restart = tosa_restart, | 980 | .restart = tosa_restart, |
987 | MACHINE_END | 981 | MACHINE_END |