From: Holger Brunck <holger.brunck@keymile.com>
To: linuxppc-dev@ozlabs.org
Cc: Holger Brunck <holger.brunck@keymile.com>
Subject: [PATCH 2/5] powerpc/83xx: fix checkpatch warnings for km83xx.c
Date: Fri, 7 Dec 2012 16:09:13 +0100 [thread overview]
Message-ID: <1354892956-14623-2-git-send-email-holger.brunck@keymile.com> (raw)
In-Reply-To: <1354892956-14623-1-git-send-email-holger.brunck@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Kumar Gala <galak@kernel.crashing.org>
---
arch/powerpc/platforms/83xx/km83xx.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c
index 89923d7..cb6460c 100644
--- a/arch/powerpc/platforms/83xx/km83xx.c
+++ b/arch/powerpc/platforms/83xx/km83xx.c
@@ -28,8 +28,8 @@
#include <linux/of_device.h>
#include <linux/atomic.h>
-#include <asm/time.h>
-#include <asm/io.h>
+#include <linux/time.h>
+#include <linux/io.h>
#include <asm/machdep.h>
#include <asm/ipic.h>
#include <asm/irq.h>
@@ -88,15 +88,13 @@ static void __init mpc83xx_km_setup_arch(void)
np_par = of_find_node_by_name(NULL, "par_io");
if (np_par == NULL) {
- printk(KERN_WARNING "%s couldn;t find par_io node\n",
- __func__);
+ pr_warn("%s couldn;t find par_io node\n", __func__);
return;
}
/* Map Parallel I/O ports registers */
ret = of_address_to_resource(np_par, 0, &res);
if (ret) {
- printk(KERN_WARNING "%s couldn;t map par_io registers\n",
- __func__);
+ pr_warn("%s couldn;t map par_io registers\n", __func__);
return;
}
--
1.7.1
next prev parent reply other threads:[~2012-12-07 15:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 15:09 [PATCH 1/5] powerpc/82xx: fix checkpatch warnings for km82xx.c Holger Brunck
2012-12-07 15:09 ` Holger Brunck [this message]
2012-12-07 15:09 ` [PATCH 3/5] powerpc/83xx: refactor mpc8360e quirk for kmeter1 Holger Brunck
2012-12-07 15:09 ` [PATCH 4/5] powerpc/83xx: apply mpc8360e quirk for kmeter1 only when par_io is present Holger Brunck
2012-12-07 15:09 ` [PATCH 5/5] powerpc/83xx: update kmeter1_defconfig Holger Brunck
2013-02-12 20:00 ` [PATCH 1/5] powerpc/82xx: fix checkpatch warnings for km82xx.c Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354892956-14623-2-git-send-email-holger.brunck@keymile.com \
--to=holger.brunck@keymile.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).