aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/littleton.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-06-02 01:32:42 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 16:38:31 -0400
commit36caeb4ec147dacb04e723080816e78f288f47cc (patch)
tree7b4a3759ed2f8712bed8b43201a4f8355cde6641 /arch/arm/mach-pxa/littleton.c
parent8a6e88736066fddec77aa33a18ffa0c5f8eb2def (diff)
[ARM] pxa: fix typo of CONFIG_*_MODULE
The correct macro name when a driver is built as a module is CONFIG_*_MODULE instead of CONFIG_*_MODULES. This patch fixes this in several places. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/littleton.c')
-rw-r--r--arch/arm/mach-pxa/littleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c
index 8a8ef2bee29d..ff81a84c19aa 100644
--- a/arch/arm/mach-pxa/littleton.c
+++ b/arch/arm/mach-pxa/littleton.c
@@ -112,7 +112,7 @@ static struct platform_device smc91x_device = {
112 .resource = smc91x_resources, 112 .resource = smc91x_resources,
113}; 113};
114 114
115#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULES) 115#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
116/* use bit 30, 31 as the indicator of command parameter number */ 116/* use bit 30, 31 as the indicator of command parameter number */
117#define CMD0(x) ((0x00000000) | ((x) << 9)) 117#define CMD0(x) ((0x00000000) | ((x) << 9))
118#define CMD1(x, x1) ((0x40000000) | ((x) << 9) | 0x100 | (x1)) 118#define CMD1(x, x1) ((0x40000000) | ((x) << 9) | 0x100 | (x1))
@@ -311,9 +311,9 @@ static void littleton_init_lcd(void)
311} 311}
312#else 312#else
313static inline void littleton_init_lcd(void) {}; 313static inline void littleton_init_lcd(void) {};
314#endif /* CONFIG_FB_PXA || CONFIG_FB_PXA_MODULES */ 314#endif /* CONFIG_FB_PXA || CONFIG_FB_PXA_MODULE */
315 315
316#if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULES) 316#if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULE)
317static unsigned int littleton_matrix_key_map[] = { 317static unsigned int littleton_matrix_key_map[] = {
318 /* KEY(row, col, key_code) */ 318 /* KEY(row, col, key_code) */
319 KEY(1, 3, KEY_0), KEY(0, 0, KEY_1), KEY(1, 0, KEY_2), KEY(2, 0, KEY_3), 319 KEY(1, 3, KEY_0), KEY(0, 0, KEY_1), KEY(1, 0, KEY_2), KEY(2, 0, KEY_3),