aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-nomadik
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-31 18:42:23 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 18:42:23 -0400
commiteed1e576507b52e03e549e0c9e0c747978122403 (patch)
tree69a7ecac041f83b0299f55a760f4f0cd5767ae05 /arch/arm/plat-nomadik
parent65af7c4608f7b7019e2faa220fb9624988965873 (diff)
parent76525ec214449318f793ff05fa5b0ecd0afe41cd (diff)
Merge branch 'stericsson/cleanup' into next/timer
The timer and cleanup branches from stericsson conflict, so I'm merging them here. Conflicts: arch/arm/mach-ux500/Makefile arch/arm/mach-ux500/cpu.c Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r--arch/arm/plat-nomadik/include/plat/pincfg.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/pincfg.h b/arch/arm/plat-nomadik/include/plat/pincfg.h
index 05a3936ae6d1..22cb97d2d8ad 100644
--- a/arch/arm/plat-nomadik/include/plat/pincfg.h
+++ b/arch/arm/plat-nomadik/include/plat/pincfg.h
@@ -37,7 +37,6 @@
37 * SLPM value = same as normal 37 * SLPM value = same as normal
38 * 38 *
39 * PIN_CFG - default config with alternate function 39 * PIN_CFG - default config with alternate function
40 * PIN_CFG_PULL - default config with alternate function and pull up/down
41 */ 40 */
42 41
43typedef unsigned long pin_cfg_t; 42typedef unsigned long pin_cfg_t;
@@ -133,10 +132,6 @@ typedef unsigned long pin_cfg_t;
133 (PIN_CFG_DEFAULT |\ 132 (PIN_CFG_DEFAULT |\
134 (PIN_NUM(num) | PIN_##alt | PIN_OUTPUT_##val)) 133 (PIN_NUM(num) | PIN_##alt | PIN_OUTPUT_##val))
135 134
136#define PIN_CFG_PULL(num, alt, pull) \
137 ((PIN_CFG_DEFAULT & ~PIN_PULL_MASK) |\
138 (PIN_NUM(num) | PIN_##alt | PIN_PULL_##pull))
139
140extern int nmk_config_pin(pin_cfg_t cfg, bool sleep); 135extern int nmk_config_pin(pin_cfg_t cfg, bool sleep);
141extern int nmk_config_pins(pin_cfg_t *cfgs, int num); 136extern int nmk_config_pins(pin_cfg_t *cfgs, int num);
142extern int nmk_config_pins_sleep(pin_cfg_t *cfgs, int num); 137extern int nmk_config_pins_sleep(pin_cfg_t *cfgs, int num);