From: Simon Glass Date: Tue, 10 Mar 2015 01:12:57 +0000 (-0600) Subject: tegra: seaboard: Correct the gpio_request() call X-Git-Tag: v2015.04~30^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=37220efab846ece7cdfc7a8fba3d8294adc6093d;p=u-boot tegra: seaboard: Correct the gpio_request() call Requesting a GPIO without a name is not supposed anymore. This causes the request to fail. Add a name so that the serial console works on seaboard. Signed-off-by: Simon Glass Reported-by: Stephen Warren Signed-off-by: Tom Warren --- diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 25480e481d..2d07001800 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -20,7 +20,7 @@ void gpio_early_init_uart(void) { /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */ - gpio_request(GPIO_PI3, NULL); + gpio_request(GPIO_PI3, "uart_en"); gpio_direction_output(GPIO_PI3, 0); } #endif