mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
spi: mpc8xxx_spi: fix missing dev_err definition
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@prevas.dk>
This commit is contained in:
committed by
Tom Rini
parent
077e72c6e6
commit
cffedec2e8
@@ -12,6 +12,7 @@
|
|||||||
#include <spi.h>
|
#include <spi.h>
|
||||||
#include <asm/mpc8xxx_spi.h>
|
#include <asm/mpc8xxx_spi.h>
|
||||||
#include <asm-generic/gpio.h>
|
#include <asm-generic/gpio.h>
|
||||||
|
#include <dm/device_compat.h>
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
SPI_EV_NE = BIT(31 - 22), /* Receiver Not Empty */
|
SPI_EV_NE = BIT(31 - 22), /* Receiver Not Empty */
|
||||||
|
Reference in New Issue
Block a user