mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 03:58:18 -04:00
Blackfin: bfin_spi: fix build error when DEBUG is defined
The new debug() changes pointed out debug code that rotted a little. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
8e5c1edadf
commit
e2f014503e
@ -197,7 +197,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
|
|||||||
spi_set_speed(&bss->slave, max_hz);
|
spi_set_speed(&bss->slave, max_hz);
|
||||||
|
|
||||||
debug("%s: bus:%i cs:%i mmr:%x ctl:%x baud:%i flg:%i\n", __func__,
|
debug("%s: bus:%i cs:%i mmr:%x ctl:%x baud:%i flg:%i\n", __func__,
|
||||||
bus, cs, mmr_base, bss->ctl, baud, bss->flg);
|
bus, cs, mmr_base, bss->ctl, bss->baud, bss->flg);
|
||||||
|
|
||||||
return &bss->slave;
|
return &bss->slave;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user