staging: comedi: amplc_dio200_common: document spinlock definition
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Mar 2016 18:09:49 +0000 (11:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 04:02:44 +0000 (21:02 -0700)
Fix the checkpatch.pl issue:
CHECK: spinlock_t definition without comment

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

index 071d2fb4d7d04e99025ee37c9fbe69203855cd89..f6e4e984235d8061a2a2d242338c3ba0bb00d8f8 100644 (file)
@@ -101,7 +101,7 @@ struct dio200_subdev_8255 {
 };
 
 struct dio200_subdev_intr {
-       spinlock_t spinlock;
+       spinlock_t spinlock;    /* protects the 'active' flag */
        unsigned int ofs;
        unsigned int valid_isns;
        unsigned int enabled_isns;