]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: amplc_pci224: fix spinlock_t definition without comment
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 Jul 2014 13:47:42 +0000 (14:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:08 +0000 (12:23 -0700)
Fix checkpatch issue: "CHECK: spinlock_t definition without comment".

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci224.c

index 8e5d94abacd434ff915f115a731f5974e5b041d8..dfeb70cc9775d61cd30ea4c0030cab7834cc2a09 100644 (file)
@@ -365,7 +365,7 @@ struct pci224_private {
        const unsigned short *hwrange;
        unsigned long iobase1;
        unsigned long state;
-       spinlock_t ao_spinlock;
+       spinlock_t ao_spinlock; /* spinlock for AO command handling */
        unsigned int *ao_readback;
        unsigned short *ao_scan_vals;
        unsigned char *ao_scan_order;