diff options
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index bbe601d4209f..96bc1698310f 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -638,6 +638,16 @@ static int __init arch_setup(void) | |||
638 | gpio_request(GPIO_FN_KEYOUT0, NULL); | 638 | gpio_request(GPIO_FN_KEYOUT0, NULL); |
639 | gpio_request(GPIO_FN_KEYIN0, NULL); | 639 | gpio_request(GPIO_FN_KEYIN0, NULL); |
640 | 640 | ||
641 | /* enable user debug switch */ | ||
642 | gpio_request(GPIO_PTR0, NULL); | ||
643 | gpio_request(GPIO_PTR4, NULL); | ||
644 | gpio_request(GPIO_PTR5, NULL); | ||
645 | gpio_request(GPIO_PTR6, NULL); | ||
646 | gpio_direction_input(GPIO_PTR0); | ||
647 | gpio_direction_input(GPIO_PTR4); | ||
648 | gpio_direction_input(GPIO_PTR5); | ||
649 | gpio_direction_input(GPIO_PTR6); | ||
650 | |||
641 | /* enable I2C device */ | 651 | /* enable I2C device */ |
642 | i2c_register_board_info(1, i2c1_devices, | 652 | i2c_register_board_info(1, i2c1_devices, |
643 | ARRAY_SIZE(i2c1_devices)); | 653 | ARRAY_SIZE(i2c1_devices)); |