aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/spear3xx.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-26 10:39:43 +0530
committerArnd Bergmann <arnd@arndb.de>2012-04-22 22:41:34 +0200
commit5fb00f965eeac548015bcd45414cccbe53b13d3f (patch)
tree2a0d2b9d82a77f3f521c033b5d7bcef0deea2aca /arch/arm/mach-spear3xx/spear3xx.c
parentSPEAr6xx: Add compilation support for dtbs using 'make dtbs' (diff)
downloadlinux-dev-5fb00f965eeac548015bcd45414cccbe53b13d3f.tar.xz
linux-dev-5fb00f965eeac548015bcd45414cccbe53b13d3f.zip
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>