Skip to contentSkip to conversation

parport: add to kernel-doc

PATCH New Randy.Dunlap 1 participant 1 message Jun 22, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parport: add to kernel-doc

From: Randy Dunlap <[email protected]>

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

---
 Documentation/DocBook/kernel-api.tmpl |    9 ++++++++-
 drivers/parport/daisy.c               |    2 +-
 drivers/parport/share.c               |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)
Documentation/DocBook/kernel-api.tmpl +8 -1
@@ -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
drivers/parport/daisy.c +1 -1
@@ -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.
  **/
 
drivers/parport/share.c +1 -1
@@ -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.
  **/
 

---