[PATCH 05/11] spi: dev->id is an int, not a string, fix debug output
Marc Kleine-Budde
mkl at pengutronix.de
Mon Nov 23 07:06:17 EST 2009
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
drivers/spi/spi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index e8e440a..d955b99 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -173,7 +173,7 @@ int spi_register_master(struct spi_master *master)
{
int status = -ENODEV;
- debug("%s: %s:%s\n", __FUNCTION__, master->dev->name, master->dev->id);
+ debug("%s: %s:%d\n", __FUNCTION__, master->dev->name, master->dev->id);
/* even if it's just one always-selected device, there must
* be at least one chipselect
--
1.6.5.2
More information about the barebox
mailing list