aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mouse.c')
-rw-r--r--kernel/drivers/mouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c
index ce9d15c..40094d1 100644
--- a/kernel/drivers/mouse.c
+++ b/kernel/drivers/mouse.c
@@ -19,8 +19,9 @@ static u32 dev_id = 0;
static struct event_mouse *event = NULL;
-static void mouse_handler()
+static void mouse_handler(struct regs *r)
{
+ UNUSED(r);
switch (mouse_cycle) {
case 0:
mouse_byte[0] = (char)inb(0x60);