patch-2.1.48 linux/drivers/char/pc110pad.c
Next file: linux/drivers/char/pc110pad.h
Previous file: linux/drivers/char/nvram.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jul 31 13:09:17 1997
- Orig file:
v2.1.47/linux/drivers/char/pc110pad.c
- Orig date:
Thu Jul 17 10:06:04 1997
diff -u --recursive --new-file v2.1.47/linux/drivers/char/pc110pad.c linux/drivers/char/pc110pad.c
@@ -492,7 +492,7 @@
{
fasync_pad(inode, file, 0);
if (--active)
- return;
+ return 0;
outb(0x30, current_params.io+2); /* switch off digitiser */
MOD_DEC_USE_COUNT;
return 0;
@@ -640,7 +640,7 @@
};
-static int pc110pad_init(void)
+int pc110pad_init(void)
{
current_params = default_params;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov