Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69488
b: refs/heads/master
c: c54ecb2
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Oct 12, 2007
1 parent 6faf0c0 commit 68a0153
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0bb87f7b8a145b56d45484713e1b1f37ce7e626
refs/heads/master: c54ecb2481d464d50520ce60cf36011b68d1e89a
12 changes: 6 additions & 6 deletions trunk/arch/arm/mach-ns9xxx/board-a9m9750dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/irq.h>

#include <asm/mach/map.h>
#include <asm/gpio.h>

#include <asm/arch-ns9xxx/board.h>
#include <asm/arch-ns9xxx/regs-sys.h>
Expand Down Expand Up @@ -91,12 +92,11 @@ void __init board_a9m9750dev_init_irq(void)
u32 reg;
int i;

/*
* configure gpio for IRQ_EXT2
* use GPIO 11, because GPIO 32 is used for the LCD
*/
/* XXX: proper GPIO handling */
BBU_GCONFb1(1) &= ~0x2000;
if (gpio_request(11, "board a9m9750dev extirq2") == 0)
ns9xxx_gpio_configure(11, 0, 1);
else
printk(KERN_ERR "%s: cannot get gpio 11 for IRQ_EXT2\n",
__func__);

for (i = FPGA_IRQ(0); i <= FPGA_IRQ(7); ++i) {
set_irq_chip(i, &a9m9750dev_fpga_chip);
Expand Down

0 comments on commit 68a0153

Please sign in to comment.