aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2006-10-01 02:27:51 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:22 -0400
commitfb48388337182013bce811b9c336e8e64b0c858b (patch)
treedbf052a3911e2e0468d82ddd6d0f1adb8d2c67c3 /include
parente4e040887b8f136d00e253dcf584667d8cd560a6 (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.h8
-rw-r--r--include/asm-sh/ec3104/keyboard.h2
-rw-r--r--include/asm-sh/mpc1211/keyboard.h4
-rw-r--r--include/asm-sh64/keyboard.h4
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);
6extern void ec3104_kbd_leds(unsigned char); 6extern void ec3104_kbd_leds(unsigned char);
7extern void ec3104_kbd_init_hw(void); 7extern 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);
24extern void pckbd_init_hw(void); 24extern void pckbd_init_hw(void);
25extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *); 25extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *);
26extern pm_callback pm_kbd_request_override; 26extern pm_callback pm_kbd_request_override;
27extern 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,
30extern char pckbd_unexpected_up(unsigned char keycode); 30extern char pckbd_unexpected_up(unsigned char keycode);
31extern void pckbd_leds(unsigned char leds); 31extern void pckbd_leds(unsigned char leds);
32extern void pckbd_init_hw(void); 32extern void pckbd_init_hw(void);
33extern 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()