diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-17 02:59:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-17 02:59:10 -0400 |
commit | cc4949e1fdade5d063e9f8783cf0e2cc92041ce5 (patch) | |
tree | 4023bd641bfe464efbde518fb504d6865c9df014 /arch/arm/mach-davinci/include/mach/mux.h | |
parent | 28b4868820a56de661f54742ff91b78e12f1e582 (diff) | |
parent | 300df7dc89cc276377fc020704e34875d5c473b6 (diff) |
Merge branch 'linus' into x86/urgent
Merge reason: pull in latest to fix a bug in it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/mux.h')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/mux.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h index bae22cb3e27b..27378458542f 100644 --- a/arch/arm/mach-davinci/include/mach/mux.h +++ b/arch/arm/mach-davinci/include/mach/mux.h | |||
@@ -19,16 +19,6 @@ | |||
19 | #ifndef __INC_MACH_MUX_H | 19 | #ifndef __INC_MACH_MUX_H |
20 | #define __INC_MACH_MUX_H | 20 | #define __INC_MACH_MUX_H |
21 | 21 | ||
22 | /* System module registers */ | ||
23 | #define PINMUX0 0x00 | ||
24 | #define PINMUX1 0x04 | ||
25 | /* dm355 only */ | ||
26 | #define PINMUX2 0x08 | ||
27 | #define PINMUX3 0x0c | ||
28 | #define PINMUX4 0x10 | ||
29 | #define INTMUX 0x18 | ||
30 | #define EVTMUX 0x1c | ||
31 | |||
32 | struct mux_config { | 22 | struct mux_config { |
33 | const char *name; | 23 | const char *name; |
34 | const char *mux_reg_name; | 24 | const char *mux_reg_name; |
@@ -168,15 +158,9 @@ enum davinci_dm355_index { | |||
168 | 158 | ||
169 | #ifdef CONFIG_DAVINCI_MUX | 159 | #ifdef CONFIG_DAVINCI_MUX |
170 | /* setup pin muxing */ | 160 | /* setup pin muxing */ |
171 | extern void davinci_mux_init(void); | ||
172 | extern int davinci_mux_register(const struct mux_config *pins, | ||
173 | unsigned long size); | ||
174 | extern int davinci_cfg_reg(unsigned long reg_cfg); | 161 | extern int davinci_cfg_reg(unsigned long reg_cfg); |
175 | #else | 162 | #else |
176 | /* boot loader does it all (no warnings from CONFIG_DAVINCI_MUX_WARNINGS) */ | 163 | /* boot loader does it all (no warnings from CONFIG_DAVINCI_MUX_WARNINGS) */ |
177 | static inline void davinci_mux_init(void) {} | ||
178 | static inline int davinci_mux_register(const struct mux_config *pins, | ||
179 | unsigned long size) { return 0; } | ||
180 | static inline int davinci_cfg_reg(unsigned long reg_cfg) { return 0; } | 164 | static inline int davinci_cfg_reg(unsigned long reg_cfg) { return 0; } |
181 | #endif | 165 | #endif |
182 | 166 | ||