diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-09 19:12:57 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-03-30 09:59:58 -0700 |
commit | 37220efab846ece7cdfc7a8fba3d8294adc6093d (patch) | |
tree | 46bfcea8c5fa4cc66374ff77b075b28473bde489 /board/nvidia/seaboard | |
parent | a101638ece27fe8c4b42c654c047d0eacc92b1a8 (diff) |
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 <sjg@chromium.org>
Reported-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/seaboard')
-rw-r--r-- | board/nvidia/seaboard/seaboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 25480e481d2..2d07001800e 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 |