[PATCH] staging: media: omap24xx: fix missing asterisk

Tsung-Han Lin tsunghan.tw at gmail.com
Sat Oct 11 05:46:49 UTC 2014


Fix missing asterisk in one V4L2_INT_WRAPPER_1 usage.
Reported by checkpatch.pl as:

ERROR: space prohibited before that close parenthesis ')'
+V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, );

Signed-off-by: Tsung-Han Lin <tsunghan.tw at gmail.com>
---
 drivers/staging/media/omap24xx/v4l2-int-device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/omap24xx/v4l2-int-device.h b/drivers/staging/media/omap24xx/v4l2-int-device.h
index 0286c95814ff..94905951245c 100644
--- a/drivers/staging/media/omap24xx/v4l2-int-device.h
+++ b/drivers/staging/media/omap24xx/v4l2-int-device.h
@@ -292,7 +292,7 @@ V4L2_INT_WRAPPER_1(s_video_routing, struct v4l2_routing, *);
 
 V4L2_INT_WRAPPER_0(dev_init);
 V4L2_INT_WRAPPER_0(dev_exit);
-V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, );
+V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, *);
 V4L2_INT_WRAPPER_1(g_priv, void, *);
 V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *);
 V4L2_INT_WRAPPER_1(g_needs_reset, void, *);
-- 
1.9.1



More information about the devel mailing list