Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272515
b: refs/heads/master
c: a439561
h: refs/heads/master
i:
  272513: f0b322b
  272511: 329fbac
v: v3
  • Loading branch information
Shawn Guo authored and Sascha Hauer committed Aug 17, 2011
1 parent 52e8b47 commit b670782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: df1bac2e2f180752ac3ae04fbc78366720a2074f
refs/heads/master: a4395612290c7b70041952add7ad75b534c8b40c
2 changes: 0 additions & 2 deletions trunk/arch/arm/plat-mxc/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@
#define gpio_cansleep __gpio_cansleep
#define gpio_to_irq __gpio_to_irq

#define irq_to_gpio(irq) ((irq) - MXC_GPIO_IRQ_START)

#endif
2 changes: 2 additions & 0 deletions trunk/drivers/gpio/gpio-mxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include <linux/of_device.h>
#include <asm-generic/bug.h>

#define irq_to_gpio(irq) ((irq) - MXC_GPIO_IRQ_START)

enum mxc_gpio_hwtype {
IMX1_GPIO, /* runs on i.mx1 */
IMX21_GPIO, /* runs on i.mx21 and i.mx27 */
Expand Down

0 comments on commit b670782

Please sign in to comment.