patch-2.3.99-pre6 linux/drivers/char/misc.c
Next file: linux/drivers/char/msp3400.c
Previous file: linux/drivers/char/joystick/joystick.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Apr 13 07:54:32 2000
- Orig file:
v2.3.99-pre5/linux/drivers/char/misc.c
- Orig date:
Mon Mar 27 08:08:23 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -138,12 +138,12 @@
* @misc: device structure
*
* Register a miscellaneous device with the kernel. If the minor
- * number is set to MISC_DYNAMIC_MINOR a minor number is assigned
+ * number is set to %MISC_DYNAMIC_MINOR a minor number is assigned
* and placed in the minor field of the structure. For other cases
* the minor number requested is used.
*
* The structure passed is linked into the kernel and may not be
- * destroyed until it has been unregistered
+ * destroyed until it has been unregistered.
*
* A zero is returned on success and a negative errno code for
* failure.
@@ -195,7 +195,7 @@
* @misc: device to unregister
*
* Unregister a miscellaneous device that was previously
- * successfully registered with misc_register. Success
+ * successfully registered with misc_register(). Success
* is indicated by a zero return, a negative errno code
* indicates an error.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)