Here is compiler's message: drivers/led/led-triggers.c:148:5: warning: no previous prototype for 'trigger_init' [-Wmissing-prototypes] int trigger_init(void) ^ Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- drivers/led/led-triggers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/led/led-triggers.c b/drivers/led/led-triggers.c index 1a5a09f..c5484d5 100644 --- a/drivers/led/led-triggers.c +++ b/drivers/led/led-triggers.c @@ -145,7 +145,7 @@ int led_get_trigger(enum led_trigger trigger) return led_get_number(triggers[trigger].led); } -int trigger_init(void) +static int trigger_init(void) { return poller_register(&trigger_poller); } -- 2.0.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox