]> git.sur5r.net Git - u-boot/commitdiff
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)
committerMike Frysinger <vapier@gentoo.org>
Sun, 16 Oct 2011 18:22:19 +0000 (14:22 -0400)
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;
 }