summaryrefslogtreecommitdiff
path: root/drivers/spi/bfin_spi.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-03 20:51:13 -0400
committerMike Frysinger <vapier@gentoo.org>2011-10-16 14:22:19 -0400
commite2f014503e2262c473e952701f8eccf077fccc1c (patch)
treeb2bd86954da03df31709fb7d39d96547da7b0ed7 /drivers/spi/bfin_spi.c
parent8e5c1edadfe30656b380039ff58702a84cd738d1 (diff)
downloadu-boot-imx-e2f014503e2262c473e952701f8eccf077fccc1c.zip
u-boot-imx-e2f014503e2262c473e952701f8eccf077fccc1c.tar.gz
u-boot-imx-e2f014503e2262c473e952701f8eccf077fccc1c.tar.bz2
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>
Diffstat (limited to 'drivers/spi/bfin_spi.c')
-rw-r--r--drivers/spi/bfin_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/bfin_spi.c
index 213e792..e080bec 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;
}