]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: comedi: drivers: skel: Add whitespace to example comment block
authorIan Abbott <abbotti@mev.co.uk>
Mon, 14 Jun 2010 11:49:26 +0000 (12:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Jun 2010 23:03:58 +0000 (16:03 -0700)
commitc73cbb099a43f6f9d25f043be2dda4c66f36cf53
tree6167de348a1b3808e0f5c8c5c6a774fe635425fb
parentfee0c784677a55ecc8fceb4a0b59d5330c93da5f
Staging: comedi: drivers: skel: Add whitespace to example comment block

The Comedi team have a script 'dump_doc' to extract text from the driver
comment block (starting with line 'Driver:') in (most of) the comedi
driver source files.  This was recently updated to allow and strip off a
" * " prefix at the start of each line (well actually, it uses the perl
substitution 's/^ ?\* ?//').

The skel.c file contains an instructional comment block about how to
format this driver comment block, but the updated 'dump_doc' script
mistakenly treats this as a valid driver comment block.  This patch adds
some extra whitespace to stop the instructional comment block being
treated as a valid driver comment block by Comedi's 'dump_doc' script.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/skel.c