aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/atari/atakeyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/atari/atakeyb.c')
-rw-r--r--arch/m68k/atari/atakeyb.c9
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 *);
42void (*atari_input_keyboard_interrupt_hook) (unsigned char, char); 43void (*atari_input_keyboard_interrupt_hook) (unsigned char, char);
43/* Hook for mouse inputdev driver */ 44/* Hook for mouse inputdev driver */
44void (*atari_input_mouse_interrupt_hook) (char *); 45void (*atari_input_mouse_interrupt_hook) (char *);
46EXPORT_SYMBOL(atari_mouse_interrupt_hook);
47EXPORT_SYMBOL(atari_input_keyboard_interrupt_hook);
48EXPORT_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}
436EXPORT_SYMBOL(ikbd_mouse_rel_pos);
432 437
433/* Set absolute mouse position reporting */ 438/* Set absolute mouse position reporting */
434void ikbd_mouse_abs_pos(int xmax, int ymax) 439void 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}
461EXPORT_SYMBOL(ikbd_mouse_thresh);
456 462
457/* Set mouse scale */ 463/* Set mouse scale */
458void ikbd_mouse_scale(int x, int y) 464void 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}
504EXPORT_SYMBOL(ikbd_mouse_y0_top);
498 505
499/* Resume */ 506/* Resume */
500void ikbd_resume(void) 507void 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}
521EXPORT_SYMBOL(ikbd_mouse_disable);
514 522
515/* Pause output */ 523/* Pause output */
516void ikbd_pause(void) 524void ikbd_pause(void)
@@ -696,7 +704,6 @@ int __init atari_keyb_init(void)
696 return 0; 704 return 0;
697} 705}
698 706
699
700int atari_kbdrate(struct kbd_repeat *k) 707int atari_kbdrate(struct kbd_repeat *k)
701{ 708{
702 if (k->delay > 0) { 709 if (k->delay > 0) {