[PATCH] spi: mpc8xxx_spi: fix missing dev_err definition

Tom Rini trini at konsulko.com
Sun Apr 26 13:28:52 CEST 2020

On Mon, Apr 20, 2020 at 04:13:41PM +0200, Rasmus Villemoes wrote:

> The build currently fails with
> drivers/spi/mpc8xxx_spi.c:64:3: warning: implicit declaration of function ‘dev_err’ [-Wimplicit-function-declaration]
> ...
> drivers/spi/built-in.o: In function `mpc8xxx_spi_set_speed':
> drivers/spi/mpc8xxx_spi.c:227: undefined reference to `dev_err'
> Fixes: 4856cc7a97 (mpc8xxx_spi: implement real ->set_speed)
> Fixes: 1a7b462dee (mpc8xxx_spi: put max_cs to use)
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200426/43b0b145/attachment.sig>

More information about the U-Boot mailing list