summaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear3xx/spear3xx.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-26 09:09:43 +0400
committerArnd Bergmann <arnd@arndb.de>2012-04-23 00:41:34 +0400
commit5fb00f965eeac548015bcd45414cccbe53b13d3f (patch)
tree2a0d2b9d82a77f3f521c033b5d7bcef0deea2aca /arch/arm/mach-spear3xx/spear3xx.c
parenta3a4513b692d147d839c7e6d2e3f0d3280a503ce (diff)
downloadlinux-5fb00f965eeac548015bcd45414cccbe53b13d3f.tar.xz
SPEAr3xx: Replace printk() with pr_*()
For better print logs/messages, it is advisable to use pr_*() routines instead of directly calling printks. This patch removes direct calling of printks for spear3xx. Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear3xx.c')
-rw-r--r--arch/arm/mach-spear3xx/spear3xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c
index b1733c37f209..a236925e13b3 100644
--- a/arch/arm/mach-spear3xx/spear3xx.c
+++ b/arch/arm/mach-spear3xx/spear3xx.c
@@ -11,6 +11,8 @@
* warranty of any kind, whether express or implied.
*/
+#define pr_fmt(fmt) "SPEAr3xx: " fmt
+
#include <linux/types.h>
#include <linux/amba/pl061.h>
#include <linux/ptrace.h>