mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] fix of the board specific initialization of the GPIO pins
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7979 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -73,6 +73,7 @@ static struct platform_device *p335_devices[] __initdata = {
|
||||
static void __init p33x_setup(void)
|
||||
{
|
||||
gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */
|
||||
gpio_direction_output(ADM5120_GPIO_PIN5, 0);
|
||||
|
||||
/* setup data for flash0 device */
|
||||
adm5120_flash0_data.switch_bank = switch_bank_gpio5;
|
||||
|
||||
Reference in New Issue
Block a user