From: H Hartley Sweeten Date: Wed, 20 Apr 2016 17:36:41 +0000 (-0700) Subject: staging: comedi: mite: document the mite_struct spinlock_t X-Git-Tag: v4.14-rc1~3181^2~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43d667243c734fe7de39a586a095ea8fec9a873a;p=platform%2Fkernel%2Flinux-rpi.git 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: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/mite.h b/drivers/staging/comedi/drivers/mite.h index 9ef51e8..bd54dd0 100644 --- a/drivers/staging/comedi/drivers/mite.h +++ b/drivers/staging/comedi/drivers/mite.h @@ -57,6 +57,7 @@ struct mite_struct { short channel_allocated[MAX_MITE_DMA_CHANNELS]; int num_channels; unsigned int fifo_size; + /* protects mite_channel from being released by the driver */ spinlock_t lock; };