patch-2.4.19 linux-2.4.19/drivers/acorn/char/mouse_ps2.c
Next file: linux-2.4.19/drivers/acorn/net/etherh.c
Previous file: linux-2.4.19/drivers/acorn/block/mfmhd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/drivers/acorn/char/mouse_ps2.c
- Orig date:
Sun Aug 12 10:38:48 2001
diff -urN linux-2.4.18/drivers/acorn/char/mouse_ps2.c linux-2.4.19/drivers/acorn/char/mouse_ps2.c
@@ -273,7 +273,8 @@
iomd_writeb(0, IOMD_MSECTL);
iomd_writeb(8, IOMD_MSECTL);
- misc_register(&psaux_mouse);
+ if (misc_register(&psaux_mouse))
+ return -ENODEV;
queue = (struct aux_queue *) kmalloc(sizeof(*queue), GFP_KERNEL);
memset(queue, 0, sizeof(*queue));
queue->head = queue->tail = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)