On Wed, Dec 26, 2012 at 05:33:55PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > as d1 pioB18 is used for the one wire too > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > --- > Hi, > > to be applied before led-gpio switch to gpio_request/free > otherwise we have a nice crash. > > Best Regards, > J. Applied, thanks Sascha > > arch/arm/boards/at91sam9x5ek/init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c > index 6d1ebe5..77c3ee3 100644 > --- a/arch/arm/boards/at91sam9x5ek/init.c > +++ b/arch/arm/boards/at91sam9x5ek/init.c > @@ -224,7 +224,7 @@ static void __init ek_add_led(void) > at91_set_gpio_output(leds[i].gpio, leds[i].active_low); > led_gpio_register(&leds[i]); > } > - led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[0].led); > + led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[1].led); > } > > static int at91sam9x5ek_mem_init(void) > -- > 1.7.10.4 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox