diff options
author | Olaf Hering <olaf@aepfle.de> | 2006-10-01 02:27:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:22 -0400 |
commit | fb48388337182013bce811b9c336e8e64b0c858b (patch) | |
tree | dbf052a3911e2e0468d82ddd6d0f1adb8d2c67c3 /include | |
parent | e4e040887b8f136d00e253dcf584667d8cd560a6 (diff) |
[PATCH] remove SYSRQ_KEY and related defines from ppc/sh/h8300
Remove unused global SYSRQ_KEY from ppc and powerpc
Remove unused define SYSRQ_KEY from sh/sh64 and h8300
Remove unused pckbd_sysrq_xlate and kbd_sysrq_xlate usage
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-h8300/keyboard.h | 8 | ||||
-rw-r--r-- | include/asm-sh/ec3104/keyboard.h | 2 | ||||
-rw-r--r-- | include/asm-sh/mpc1211/keyboard.h | 4 | ||||
-rw-r--r-- | include/asm-sh64/keyboard.h | 4 |
4 files changed, 0 insertions, 18 deletions
diff --git a/include/asm-h8300/keyboard.h b/include/asm-h8300/keyboard.h index fbad65e8a5c0..90efbd655390 100644 --- a/include/asm-h8300/keyboard.h +++ b/include/asm-h8300/keyboard.h | |||
@@ -18,14 +18,6 @@ | |||
18 | #define kbd_enable_irq(x...) do {;} while (0) | 18 | #define kbd_enable_irq(x...) do {;} while (0) |
19 | #define kbd_disable_irq(x...) do {;} while (0) | 19 | #define kbd_disable_irq(x...) do {;} while (0) |
20 | 20 | ||
21 | |||
22 | /* needed if MAGIC_SYSRQ is enabled for serial console */ | ||
23 | #ifndef SYSRQ_KEY | ||
24 | #define SYSRQ_KEY ((unsigned char)(-1)) | ||
25 | #define kbd_sysrq_xlate ((unsigned char *)NULL) | ||
26 | #endif | ||
27 | |||
28 | |||
29 | #endif /* _H8300_KEYBOARD_H */ | 21 | #endif /* _H8300_KEYBOARD_H */ |
30 | 22 | ||
31 | 23 | ||
diff --git a/include/asm-sh/ec3104/keyboard.h b/include/asm-sh/ec3104/keyboard.h index 0dee7b05b49d..c1253a683197 100644 --- a/include/asm-sh/ec3104/keyboard.h +++ b/include/asm-sh/ec3104/keyboard.h | |||
@@ -6,8 +6,6 @@ extern char ec3104_kbd_unexpected_up(unsigned char); | |||
6 | extern void ec3104_kbd_leds(unsigned char); | 6 | extern void ec3104_kbd_leds(unsigned char); |
7 | extern void ec3104_kbd_init_hw(void); | 7 | extern void ec3104_kbd_init_hw(void); |
8 | 8 | ||
9 | #define SYSRQ_KEY 0x54 | ||
10 | |||
11 | #define kbd_sysrq_xlate ec3104_kbd_sysrq_xlate | 9 | #define kbd_sysrq_xlate ec3104_kbd_sysrq_xlate |
12 | #define kbd_setkeycode ec3104_kbd_setkeycode | 10 | #define kbd_setkeycode ec3104_kbd_setkeycode |
13 | #define kbd_getkeycode ec3104_kbd_getkeycode | 11 | #define kbd_getkeycode ec3104_kbd_getkeycode |
diff --git a/include/asm-sh/mpc1211/keyboard.h b/include/asm-sh/mpc1211/keyboard.h index 71ef4cf4242d..9020feee7b4c 100644 --- a/include/asm-sh/mpc1211/keyboard.h +++ b/include/asm-sh/mpc1211/keyboard.h | |||
@@ -24,7 +24,6 @@ extern void pckbd_leds(unsigned char leds); | |||
24 | extern void pckbd_init_hw(void); | 24 | extern void pckbd_init_hw(void); |
25 | extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *); | 25 | extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *); |
26 | extern pm_callback pm_kbd_request_override; | 26 | extern pm_callback pm_kbd_request_override; |
27 | extern unsigned char pckbd_sysrq_xlate[128]; | ||
28 | 27 | ||
29 | #define kbd_setkeycode pckbd_setkeycode | 28 | #define kbd_setkeycode pckbd_setkeycode |
30 | #define kbd_getkeycode pckbd_getkeycode | 29 | #define kbd_getkeycode pckbd_getkeycode |
@@ -32,9 +31,6 @@ extern unsigned char pckbd_sysrq_xlate[128]; | |||
32 | #define kbd_unexpected_up pckbd_unexpected_up | 31 | #define kbd_unexpected_up pckbd_unexpected_up |
33 | #define kbd_leds pckbd_leds | 32 | #define kbd_leds pckbd_leds |
34 | #define kbd_init_hw pckbd_init_hw | 33 | #define kbd_init_hw pckbd_init_hw |
35 | #define kbd_sysrq_xlate pckbd_sysrq_xlate | ||
36 | |||
37 | #define SYSRQ_KEY 0x54 | ||
38 | 34 | ||
39 | /* resource allocation */ | 35 | /* resource allocation */ |
40 | #define kbd_request_region() | 36 | #define kbd_request_region() |
diff --git a/include/asm-sh64/keyboard.h b/include/asm-sh64/keyboard.h index 1fab96d792bf..0b01c3beb2f8 100644 --- a/include/asm-sh64/keyboard.h +++ b/include/asm-sh64/keyboard.h | |||
@@ -30,7 +30,6 @@ extern int pckbd_translate(unsigned char scancode, unsigned char *keycode, | |||
30 | extern char pckbd_unexpected_up(unsigned char keycode); | 30 | extern char pckbd_unexpected_up(unsigned char keycode); |
31 | extern void pckbd_leds(unsigned char leds); | 31 | extern void pckbd_leds(unsigned char leds); |
32 | extern void pckbd_init_hw(void); | 32 | extern void pckbd_init_hw(void); |
33 | extern unsigned char pckbd_sysrq_xlate[128]; | ||
34 | 33 | ||
35 | #define kbd_setkeycode pckbd_setkeycode | 34 | #define kbd_setkeycode pckbd_setkeycode |
36 | #define kbd_getkeycode pckbd_getkeycode | 35 | #define kbd_getkeycode pckbd_getkeycode |
@@ -38,9 +37,6 @@ extern unsigned char pckbd_sysrq_xlate[128]; | |||
38 | #define kbd_unexpected_up pckbd_unexpected_up | 37 | #define kbd_unexpected_up pckbd_unexpected_up |
39 | #define kbd_leds pckbd_leds | 38 | #define kbd_leds pckbd_leds |
40 | #define kbd_init_hw pckbd_init_hw | 39 | #define kbd_init_hw pckbd_init_hw |
41 | #define kbd_sysrq_xlate pckbd_sysrq_xlate | ||
42 | |||
43 | #define SYSRQ_KEY 0x54 | ||
44 | 40 | ||
45 | /* resource allocation */ | 41 | /* resource allocation */ |
46 | #define kbd_request_region() | 42 | #define kbd_request_region() |