~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/mips/alchemy/devboards/pb1000/board_setup.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
        /* Set AUX clock to 12 MHz * 8 = 96 MHz */
67
67
        au_writel(8, SYS_AUXPLL);
68
 
        au_writel(0, SYS_PINSTATERD);
 
68
        alchemy_gpio1_input_enable();
69
69
        udelay(100);
70
70
 
71
71
#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
197
197
 
198
198
static int __init pb1000_init_irq(void)
199
199
{
200
 
        set_irq_type(AU1000_GPIO15_INT, IRQF_TRIGGER_LOW);
 
200
        irq_set_irq_type(AU1000_GPIO15_INT, IRQF_TRIGGER_LOW);
201
201
        return 0;
202
202
}
203
203
arch_initcall(pb1000_init_irq);