powerpc/82xx: fix checkpatch warnings for km82xx.c
authorHolger Brunck <holger.brunck@keymile.com>
Fri, 7 Dec 2012 15:09:12 +0000 (16:09 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 13 Feb 2013 13:49:04 +0000 (07:49 -0600)
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/82xx/km82xx.c

index cf964e1..058cc18 100644 (file)
 #include <linux/fsl_devices.h>
 #include <linux/of_platform.h>
 
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/cpm2.h>
 #include <asm/udbg.h>
 #include <asm/machdep.h>
-#include <asm/time.h>
+#include <linux/time.h>
 #include <asm/mpc8260.h>
 #include <asm/prom.h>
 
@@ -36,7 +36,7 @@ static void __init km82xx_pic_init(void)
        struct device_node *np = of_find_compatible_node(NULL, NULL,
                                                        "fsl,pq2-pic");
        if (!np) {
-               printk(KERN_ERR "PIC init: can not find cpm-pic node\n");
+               pr_err("PIC init: can not find cpm-pic node\n");
                return;
        }