diff options
author | Rob Herring <r.herring@freescale.com> | 2008-02-12 10:33:49 -0600 |
---|---|---|
committer | Daniel Schaeffer <daniel.schaeffer@timesys.com> | 2008-08-25 15:20:30 -0400 |
commit | 4d822426876cb94198cdea6d67fea3efd61317b4 (patch) | |
tree | be2af6f32ca4e6a64c09bfb732bb8f9a6f433474 /include/asm-arm/arch-mxc/mxc.h | |
parent | 3f8ed3afb9cee6648f9650d5daf950bb9347cca6 (diff) |
ENGR00065563 Driver and MSL updates for 2.6.24
Diffstat (limited to 'include/asm-arm/arch-mxc/mxc.h')
-rw-r--r-- | include/asm-arm/arch-mxc/mxc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mxc/mxc.h b/include/asm-arm/arch-mxc/mxc.h index 81760e742a8f..4872b64a43ad 100644 --- a/include/asm-arm/arch-mxc/mxc.h +++ b/include/asm-arm/arch-mxc/mxc.h @@ -92,7 +92,7 @@ int mxc_snoop_get_status(u32 num, u32 * statl, u32 * stath); #endif /* __ASSEMBLY__ */ #define IOMUX_TO_GPIO(pin) ((((unsigned int)pin >> MUX_IO_P) * GPIO_NUM_PIN) + ((pin >> MUX_IO_I) & ((1 << (MUX_IO_P - MUX_IO_I)) -1))) -#define IOMUX_TO_IRQ(pin) (MXC_GPIO_BASE + IOMUX_TO_GPIO(pin)) +#define IOMUX_TO_IRQ(pin) (MXC_GPIO_INT_BASE + IOMUX_TO_GPIO(pin)) #define GPIO_TO_PORT(n) (n / GPIO_NUM_PIN) #define GPIO_TO_INDEX(n) (n % GPIO_NUM_PIN) |