]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399: include gpio.h
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 29 Apr 2019 17:05:26 +0000 (19:05 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 1 May 2019 07:40:59 +0000 (09:40 +0200)
commit4feb0ce19f471b6cd20af9770aebafd1c7dd6326
treed85dc03948cfb404fb125fa2a31ebf7bd034034e
parentabb6cf2b45ac2eff10372d45ce58886697e72f01
rockchip: rk3399: include gpio.h

After applying the series for debug_uart_init(), Travis-CI reports:

arch/arm/mach-rockchip/rk3399/rk3399.c:90:2: error: implicit declaration of function 'spl_gpio_set_pull' [-Werror=implicit-function-declaration]
  spl_gpio_set_pull(&pmugrf->gpio0_p, GPIO(BANK_B, 2), GPIO_PULL_NORMAL);
  ^~~~~~~~~~~~~~~~~

This is caused by a missing header-file include.  Fix it.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3399/rk3399.c