From: Mike Frysinger Date: Tue, 4 Oct 2011 00:51:13 +0000 (-0400) Subject: Blackfin: bfin_spi: fix build error when DEBUG is defined X-Git-Tag: v2011.12-rc1~513^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e2f014503e2262c473e952701f8eccf077fccc1c;p=u-boot 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 --- diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/bfin_spi.c index 213e79281a..e080bec705 100644 --- a/drivers/spi/bfin_spi.c +++ b/drivers/spi/bfin_spi.c @@ -197,7 +197,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, spi_set_speed(&bss->slave, max_hz); 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; }