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 cf964e19573a15b8d8c3f9f2c33f0079f146f290..058cc1895c886588a2a7886fd3f4510d5f6b5af1 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;
        }