summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/impd1.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-08-05 11:36:00 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-08-18 14:52:07 +0200
commitfaa64c93ae3fa3b3c97e502e60ce8430ab61cd9d (patch)
treedd6cf233df7ad9ebe4970bbd1e3c9ff691ca626c /arch/arm/mach-integrator/impd1.c
parentremoved unused #include <version.h> (diff)
downloadlinux-faa64c93ae3fa3b3c97e502e60ce8430ab61cd9d.tar.xz
linux-faa64c93ae3fa3b3c97e502e60ce8430ab61cd9d.zip
[ARM] fix impd1.c build warning
CC arch/arm/mach-integrator/impd1.o arch/arm/mach-integrator/impd1.c: In function `impd1_probe': arch/arm/mach-integrator/impd1.c:408: warning: too few arguments for format Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator/impd1.c')
-rw-r--r--arch/arm/mach-integrator/impd1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c
index 0a7b3267c8d8..3c8383dbe9e6 100644
--- a/arch/arm/mach-integrator/impd1.c
+++ b/arch/arm/mach-integrator/impd1.c
@@ -405,7 +405,7 @@ static int impd1_probe(struct lm_device *dev)
ret = amba_device_register(d, &dev->resource);
if (ret) {
- dev_err(&d->dev, "unable to register device: %d\n");
+ dev_err(&d->dev, "unable to register device: %d\n", ret);
kfree(d);
}
}