]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_r: fix build with DM_SPI
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 21 Nov 2018 08:51:55 +0000 (08:51 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
commitc1cd921b7552114293e2490aaca2a667f9d1c723
tree3987425a118501fe5d6f2e16e45620015150210c
parent42b54013a08dbda78b466243f03ced249a7fbe84
board_r: fix build with DM_SPI

CC      common/board_r.o
common/board_r.c:747:2: error: ‘initr_spi’ undeclared here (not in a function)
  initr_spi,
  ^
make[1]: *** [common/board_r.o] Error 1

Fixes: ebe76a2df9f6 ("dm: Remove spi_init() from board_r.c when using driver model")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
common/board_r.c