staging: emxx_udc: Add comment for spinlock_t definition.
PATCH 1/1 staging: emxx_udc: Add comment for spinlock_t definition.
Added comment for spinlock_t definition, to fix the following checkpatch issue:
CHECK: spinlock_t definition without comment
Signed-off-by Varsha Rao <[email protected]>
--- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.h +1 -1
@@ -567,7 +567,7 @@ struct nbu2ss_udc {struct usb_gadget_driver *driver;struct platform_device *pdev;struct device *dev; -spinlock_t lock; +spinlock_t lock;/* Protects nbu2ss_udc structure fields */ struct completion *pdone;enum ep0_state ep0state;
Signature · 1 line
2.9.3