Blackfin: bfin_spi: fix build error when DEBUG is defined
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 Oct 2011 00:51:13 +0000 (20:51 -0400)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 20:25:33 +0000 (22:25 +0200)
The new debug() changes pointed out debug code that rotted a little.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/bfin_spi.c

index 213e79281aca3ddb8f24841927c4a890a3181aaa..e080bec7052e523fd7c72dccfda5d5ec97ebb9bb 100644 (file)
@@ -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;
 }