summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-23 11:23:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-27 20:51:03 +0100
commitc7fc9be8938b390ffe21147422b2ef2dd1891d17 (patch)
treeb0dcbbc887c38ad06fd13a1801e0c098180f52ba /arch
parent6a20c24644261c65cb9ca93313b6f51bafc87973 (diff)
downloadbarebox-c7fc9be8938b390ffe21147422b2ef2dd1891d17.tar.gz
barebox-c7fc9be8938b390ffe21147422b2ef2dd1891d17.tar.xz
ARM i.MX bbu: Fix compiling with DEBUG enabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/imx-bbu-internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c
index 85d10cf4e7..c34f86f33a 100644
--- a/arch/arm/mach-imx/imx-bbu-internal.c
+++ b/arch/arm/mach-imx/imx-bbu-internal.c
@@ -63,7 +63,7 @@ static int imx_bbu_write_device(struct imx_internal_bbu_handler *imx_handler,
if (imx_handler->flags & IMX_INTERNAL_FLAG_KEEP_DOSPART) {
void *mbr = xzalloc(512);
- debug("%s: reading DOS partition table in order to keep it\n");
+ debug("%s: reading DOS partition table in order to keep it\n", __func__);
ret = read(fd, mbr, 512);
if (ret < 0) {
@@ -484,7 +484,7 @@ static int imx53_bbu_internal_init_dcd(struct imx_internal_bbu_handler *imx_hand
if ((*dcd32 & 0xff0000ff) != DCD_WR_CMD(0)) {
__be32 *buf;
- debug("%s: dcd does not have a DCD_WR_CMD. Prepending one\n");
+ debug("%s: dcd does not have a DCD_WR_CMD. Prepending one\n", __func__);
buf = xmalloc(dcdsize + sizeof(__be32));
@@ -494,7 +494,7 @@ static int imx53_bbu_internal_init_dcd(struct imx_internal_bbu_handler *imx_hand
imx_handler->dcd = buf;
imx_handler->dcdsize = dcdsize + sizeof(__be32);
} else {
- debug("%s: dcd already has a DCD_WR_CMD. Using original dcd data\n");
+ debug("%s: dcd already has a DCD_WR_CMD. Using original dcd data\n", __func__);
imx_handler->dcd = dcd;
imx_handler->dcdsize = dcdsize;