[PATCH] staging: media: omap4iss: mark omap4iss_flush() static
Arnd Bergmann
arnd at arndb.de
Mon Sep 5 11:49:14 UTC 2016
On Sunday, September 4, 2016 2:41:41 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/staging/media/omap4iss/iss.c:64:6: warning: no previous prototype for 'omap4iss_flush' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> so this patch marks this function with 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie at linaro.org>
>
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the devel
mailing list