summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_late_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-13 19:21:55 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-15 22:32:24 +0900
commitdd74b945af2e67791613dc98c6ce7a0058f3a72b (patch)
treeec39c905c76947af3d8db8f2c30d6a95da4b009b /arch/arm/mach-uniphier/board_late_init.c
parentf73cfb4d0dee2838d11c652f4ccba4d591ae9e2a (diff)
ARM: uniphier: use pr_() instead of printf() where appropriate
Replace printf() with pr_() to specify proper loglevel. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_late_init.c')
-rw-r--r--arch/arm/mach-uniphier/board_late_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c
index b9a2cbe148..6849b3dcab 100644
--- a/arch/arm/mach-uniphier/board_late_init.c
+++ b/arch/arm/mach-uniphier/board_late_init.c
@@ -10,7 +10,9 @@
#include <spl.h>
#include <libfdt.h>
#include <nand.h>
+#include <stdio.h>
#include <linux/io.h>
+#include <linux/printk.h>
#include <../drivers/mtd/nand/denali.h>
#include "init.h"
@@ -92,7 +94,7 @@ int board_late_init(void)
printf("\n");
if (uniphier_set_fdt_file())
- printf("fdt_file environment was not set correctly\n");
+ pr_warn("fdt_file environment was not set correctly\n");
return 0;
}