patch-2.4.10 linux/drivers/char/epca.c
Next file: linux/drivers/char/esp.c
Previous file: linux/drivers/char/efirtc.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Sun Sep 9 10:43:02 2001
- Orig file:
v2.4.9/linux/drivers/char/epca.c
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -610,9 +610,7 @@
ASYNC_CALLOUT_ACTIVE | ASYNC_CLOSING);
wake_up_interruptible(&ch->close_wait);
-#ifdef MODULE
MOD_DEC_USE_COUNT;
-#endif
restore_flags(flags);
@@ -700,10 +698,8 @@
shutdown(ch);
-#ifdef MODULE
if (ch->count)
MOD_DEC_USE_COUNT;
-#endif /* MODULE */
ch->tty = NULL;
@@ -1397,12 +1393,9 @@
return(-ENODEV);
}
-#ifdef MODULE
MOD_INC_USE_COUNT;
-#endif
-
ch = &digi_channels[line];
boardnum = ch->boardnum;
@@ -4106,3 +4099,5 @@
} /* End init_PCI */
#endif /* ENABLE_PCI */
+
+MODULE_LICENSE("GPL");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)