diff options
Diffstat (limited to 'arch/m68k/atari')
-rw-r--r-- | arch/m68k/atari/atakeyb.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c index 1c29603b16b3..2b5f64726a2e 100644 --- a/arch/m68k/atari/atakeyb.c +++ b/arch/m68k/atari/atakeyb.c | |||
@@ -13,6 +13,7 @@ | |||
13 | * enhanced by Bjoern Brauel and Roman Hodek | 13 | * enhanced by Bjoern Brauel and Roman Hodek |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/module.h> | ||
16 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
17 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
18 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
@@ -42,6 +43,9 @@ void (*atari_mouse_interrupt_hook) (char *); | |||
42 | void (*atari_input_keyboard_interrupt_hook) (unsigned char, char); | 43 | void (*atari_input_keyboard_interrupt_hook) (unsigned char, char); |
43 | /* Hook for mouse inputdev driver */ | 44 | /* Hook for mouse inputdev driver */ |
44 | void (*atari_input_mouse_interrupt_hook) (char *); | 45 | void (*atari_input_mouse_interrupt_hook) (char *); |
46 | EXPORT_SYMBOL(atari_mouse_interrupt_hook); | ||
47 | EXPORT_SYMBOL(atari_input_keyboard_interrupt_hook); | ||
48 | EXPORT_SYMBOL(atari_input_mouse_interrupt_hook); | ||
45 | 49 | ||
46 | /* variables for IKBD self test: */ | 50 | /* variables for IKBD self test: */ |
47 | 51 | ||
@@ -429,6 +433,7 @@ void ikbd_mouse_rel_pos(void) | |||
429 | 433 | ||
430 | ikbd_write(cmd, 1); | 434 | ikbd_write(cmd, 1); |
431 | } | 435 | } |
436 | EXPORT_SYMBOL(ikbd_mouse_rel_pos); | ||
432 | 437 | ||
433 | /* Set absolute mouse position reporting */ | 438 | /* Set absolute mouse position reporting */ |
434 | void ikbd_mouse_abs_pos(int xmax, int ymax) | 439 | void ikbd_mouse_abs_pos(int xmax, int ymax) |
@@ -453,6 +458,7 @@ void ikbd_mouse_thresh(int x, int y) | |||
453 | 458 | ||
454 | ikbd_write(cmd, 3); | 459 | ikbd_write(cmd, 3); |
455 | } | 460 | } |
461 | EXPORT_SYMBOL(ikbd_mouse_thresh); | ||
456 | 462 | ||
457 | /* Set mouse scale */ | 463 | /* Set mouse scale */ |
458 | void ikbd_mouse_scale(int x, int y) | 464 | void ikbd_mouse_scale(int x, int y) |
@@ -495,6 +501,7 @@ void ikbd_mouse_y0_top(void) | |||
495 | 501 | ||
496 | ikbd_write(cmd, 1); | 502 | ikbd_write(cmd, 1); |
497 | } | 503 | } |
504 | EXPORT_SYMBOL(ikbd_mouse_y0_top); | ||
498 | 505 | ||
499 | /* Resume */ | 506 | /* Resume */ |
500 | void ikbd_resume(void) | 507 | void ikbd_resume(void) |
@@ -511,6 +518,7 @@ void ikbd_mouse_disable(void) | |||
511 | 518 | ||
512 | ikbd_write(cmd, 1); | 519 | ikbd_write(cmd, 1); |
513 | } | 520 | } |
521 | EXPORT_SYMBOL(ikbd_mouse_disable); | ||
514 | 522 | ||
515 | /* Pause output */ | 523 | /* Pause output */ |
516 | void ikbd_pause(void) | 524 | void ikbd_pause(void) |
@@ -696,7 +704,6 @@ int __init atari_keyb_init(void) | |||
696 | return 0; | 704 | return 0; |
697 | } | 705 | } |
698 | 706 | ||
699 | |||
700 | int atari_kbdrate(struct kbd_repeat *k) | 707 | int atari_kbdrate(struct kbd_repeat *k) |
701 | { | 708 | { |
702 | if (k->delay > 0) { | 709 | if (k->delay > 0) { |