Commit bb7085b1 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: addi_apci_2032: document the spinlock_t definition

Add some comments to the private data tp quiet the checkpatch.pl
issue about:

CHECK: spinlock_t definition without comment
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dc413f7a
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
#define APCI2032_WDOG_REG 0x10 #define APCI2032_WDOG_REG 0x10
struct apci2032_int_private { struct apci2032_int_private {
spinlock_t spinlock; spinlock_t spinlock; /* protects the following members */
bool active; bool active; /* an async command is running */
unsigned char enabled_isns; unsigned char enabled_isns; /* mask of enabled interrupt channels */
}; };
static int apci2032_do_insn_bits(struct comedi_device *dev, static int apci2032_do_insn_bits(struct comedi_device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment