[U-Boot] [PATCH] Fix SPI build errors in exports.c
Wolfgang Denk
wd at denx.de
Wed Dec 7 08:41:34 CET 2011
Dear Simon Glass,
In message <1323235892-5274-1-git-send-email-sjg at chromium.org> you wrote:
> The spi.h include is no longer included in exports.h, so must be included
> here.
>
> This fixes these errors:
>
> In file included from exports.c:41:0:
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h: In function 'jumptable_init':
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: error: 'spi_init' undeclared (first use in this function)
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: note: each undeclared identifier is reported only once for each function it appears in
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:28:1: error: 'spi_setup_slave' undeclared (first use in this function)
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:29:1: error: 'spi_free_slave' undeclared (first use in this function)
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:30:1: error: 'spi_claim_bus' undeclared (first use in this function)
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:31:1: error: 'spi_release_bus' undeclared (first use in this function)
> /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:32:1: error: 'spi_xfer' undeclared (first use in this function)
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> common/exports.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Artificial Intelligence is the study of how to make real computers
act like the ones in movies.
More information about the U-Boot
mailing list