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 071d2fb..f6e4e98 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;