提交 43d66724 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: mite: document the mite_struct spinlock_t

Add a comment to fix the checkpatch.pl issue:
CHECK: spinlock_t definition without comment
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 268bc9cd
...@@ -57,6 +57,7 @@ struct mite_struct { ...@@ -57,6 +57,7 @@ struct mite_struct {
short channel_allocated[MAX_MITE_DMA_CHANNELS]; short channel_allocated[MAX_MITE_DMA_CHANNELS];
int num_channels; int num_channels;
unsigned int fifo_size; unsigned int fifo_size;
/* protects mite_channel from being released by the driver */
spinlock_t lock; spinlock_t lock;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册