Commit 545280fd authored by David S. Miller's avatar David S. Miller

drivers/input/serio/i8042-sparcio.h: Fix ioremap args.

parent 118a69a0
...@@ -74,7 +74,7 @@ static int i8042_platform_init(void) ...@@ -74,7 +74,7 @@ static int i8042_platform_init(void)
!strcmp(child->prom_name, OBP_PS2KBD_NAME2)) { !strcmp(child->prom_name, OBP_PS2KBD_NAME2)) {
i8042_kbd_irq = child->irqs[0]; i8042_kbd_irq = child->irqs[0];
kbd_iobase = (unsigned long) kbd_iobase = (unsigned long)
ioremap(child->resource[0].start); ioremap(child->resource[0].start, 8);
} }
if (!strcmp(child->prom_name, OBP_PS2MS_NAME1) || if (!strcmp(child->prom_name, OBP_PS2MS_NAME1) ||
!strcmp(child->prom_name, OBP_PS2MS_NAME2)) !strcmp(child->prom_name, OBP_PS2MS_NAME2))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment