]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mpc8xxx_spi: fix missing dev_err definition
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 20 Apr 2020 14:13:41 +0000 (16:13 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 20:40:09 +0000 (16:40 -0400)
commitcffedec2e8f7f11fbe31f4706a222d279cf19c1d
tree8f46669e0ab173d614e59aa702a648ba73662d57
parent077e72c6e6266a215cdbb8bfb07d791cb9c070ec
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>
drivers/spi/mpc8xxx_spi.c