MIPS: Alchemy: devboards: Convert to gpio calls.
[deliverable/linux.git] / arch / mips / alchemy / devboards / pb1100 / board_setup.c
index 4df57fae15d4cfe24f2cbe598389ce4efa4781f1..61263081ef58c1100ab5fa67821a29127225d130 100644 (file)
@@ -23,6 +23,7 @@
  *  675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <linux/gpio.h>
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
@@ -88,7 +89,7 @@ void __init board_setup(void)
 
        /* Set AUX clock to 12 MHz * 8 = 96 MHz */
        au_writel(8, SYS_AUXPLL);
-       au_writel(0, SYS_PININPUTEN);
+       alchemy_gpio1_input_enable();
        udelay(100);
 
 #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
This page took 0.028981 seconds and 5 git commands to generate.