Thread (39 messages) 39 messages, 9 authors, 2020-09-06

Re: [PATCH v2 13/13] ARM: s3c24xx: camif: include header with prototypes and unify declaration

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-08-12 07:59:36
Also in: linux-clk, linux-samsung-soc, linux-watchdog

Quoting Krzysztof Kozlowski (2020-08-04 12:26:54)
The s3c_camif_gpio_put() declaration in
include/media/drv-intf/s3c_camif.h header was different than definition.
Fixing this allows to include that header to also fix the W=1 compile
warnings:

    arch/arm/mach-s3c24xx/setup-camif.c:28:5: warning: no previous prototype for 's3c_camif_gpio_get' [-Wmissing-prototypes]
       28 | int s3c_camif_gpio_get(void)
    arch/arm/mach-s3c24xx/setup-camif.c:56:6: warning: no previous prototype for 's3c_camif_gpio_put' [-Wmissing-prototypes]
       56 | void s3c_camif_gpio_put(void)
Maybe it should have been void all along?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help