]> err.no Git - linux-2.6/commitdiff
[ARM] fix impd1.c build warning
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 5 Aug 2008 09:36:00 +0000 (10:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 18 Aug 2008 12:52:07 +0000 (13:52 +0100)
  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>
arch/arm/mach-integrator/impd1.c

index 0a7b3267c8d8302c3cf84e4392d23d87020444f1..3c8383dbe9e6fac52652215dba190667a610ad4b 100644 (file)
@@ -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);
                }
        }