Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274132
b: refs/heads/master
c: 7124cb9
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Nov 5, 2011
1 parent c680899 commit 959f231
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4fc7ae3c849a5a15965c1d41b59b0a606119e71a
refs/heads/master: 7124cb96cadc5f9990ade39780b672b01bfc6484
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/include/mach/gpio-pxa.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define GPIO_REGS_VIRT io_p2v(0x40E00000)

#define BANK_OFF(n) (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2))
#define GPIO_REG(x) (GPIO_REGS_VIRT + (x))
#define GPIO_REG(x) (*(volatile u32 *)(GPIO_REGS_VIRT + (x)))

/* GPIO Pin Level Registers */
#define GPLR0 GPIO_REG(BANK_OFF(0) + 0x00)
Expand Down

0 comments on commit 959f231

Please sign in to comment.