Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226135
b: refs/heads/master
c: b086e97
h: refs/heads/master
i:
  226133: 807eba8
  226131: cabb0fd
  226127: b3b2dae
v: v3
  • Loading branch information
Richard Zhao authored and Sascha Hauer committed Jan 3, 2011
1 parent 5e579ae commit 1f2bdb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 626d90c884591005fdaa9464de81731aab23b864
refs/heads/master: b086e97b20f150e81609a04ed7da92e12d77f1b0
5 changes: 4 additions & 1 deletion trunk/arch/arm/plat-mxc/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,18 @@ int __init mxc_gpio_init(struct mxc_gpio_port *port, int cnt)
return 0;
}

#define DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, _irq) \
#define DEFINE_IMX_GPIO_PORT_IRQ_HIGH(soc, _id, _hwid, _irq, _irq_high) \
{ \
.chip.label = "gpio-" #_id, \
.irq = _irq, \
.irq_high = _irq_high, \
.base = soc ## _IO_ADDRESS( \
soc ## _GPIO ## _hwid ## _BASE_ADDR), \
.virtual_irq_start = MXC_GPIO_IRQ_START + (_id) * 32, \
}

#define DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, _irq) \
DEFINE_IMX_GPIO_PORT_IRQ_HIGH(soc, _id, _hwid, _irq, 0)
#define DEFINE_IMX_GPIO_PORT(soc, _id, _hwid) \
DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, 0)

Expand Down

0 comments on commit 1f2bdb7

Please sign in to comment.