diff options
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/mxs.h')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/mxs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/mxs.h b/arch/arm/mach-mxs/include/mach/mxs.h index 35a89dd27242..5aa5f754c846 100644 --- a/arch/arm/mach-mxs/include/mach/mxs.h +++ b/arch/arm/mach-mxs/include/mach/mxs.h | |||
@@ -86,6 +86,8 @@ | |||
86 | .type = _type, \ | 86 | .type = _type, \ |
87 | } | 87 | } |
88 | 88 | ||
89 | #define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) | ||
90 | |||
89 | #define MXS_SET_ADDR 0x4 | 91 | #define MXS_SET_ADDR 0x4 |
90 | #define MXS_CLR_ADDR 0x8 | 92 | #define MXS_CLR_ADDR 0x8 |
91 | #define MXS_TOG_ADDR 0xc | 93 | #define MXS_TOG_ADDR 0xc |