[PATCH] parport: add to kernel-doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Randy Dunlap <[email protected]>

Add parport interfaces to kernel-doc template.
Small doc. cleanups in 2 parport source files.


Signed-off-by: Randy Dunlap <[email protected]>
---
 Documentation/DocBook/kernel-api.tmpl |    9 ++++++++-
 drivers/parport/daisy.c               |    2 +-
 drivers/parport/share.c               |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

--- linux-2617-g4.orig/Documentation/DocBook/kernel-api.tmpl
+++ linux-2617-g4/Documentation/DocBook/kernel-api.tmpl
@@ -390,7 +390,6 @@ X!Edrivers/pnp/system.c
      </sect1>
   </chapter>
 
-
   <chapter id="blkdev">
      <title>Block Devices</title>
 !Eblock/ll_rw_blk.c
@@ -401,6 +400,14 @@ X!Edrivers/pnp/system.c
 !Edrivers/char/misc.c
   </chapter>
 
+  <chapter id="parportdev">
+     <title>Parallel Port Devices</title>
+!Iinclude/linux/parport.h
+!Edrivers/parport/ieee1284.c
+!Edrivers/parport/share.c
+!Idrivers/parport/daisy.c
+  </chapter>
+
   <chapter id="viddev">
      <title>Video4Linux</title>
 !Edrivers/media/video/videodev.c
--- linux-2617-g4.orig/drivers/parport/daisy.c
+++ linux-2617-g4/drivers/parport/daisy.c
@@ -283,7 +283,7 @@ void parport_close (struct pardevice *de
  *
  *	This tries to locate a device on the given parallel port,
  *	multiplexor port and daisy chain address, and returns its
- *	device number or -NXIO if no device with those coordinates
+ *	device number or %-ENXIO if no device with those coordinates
  *	exists.
  **/
 
--- linux-2617-g4.orig/drivers/parport/share.c
+++ linux-2617-g4/drivers/parport/share.c
@@ -218,7 +218,7 @@ static void free_port (struct parport *p
  *	parport_get_port - increment a port's reference count
  *	@port: the port
  *
- *	This ensure's that a struct parport pointer remains valid
+ *	This ensures that a struct parport pointer remains valid
  *	until the matching parport_put_port() call.
  **/
 


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux