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~512^2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d2b0a8f451a31e8d84e3d4866e78951ad6535f2;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; }