diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-11-19 22:46:41 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-11-29 23:06:06 +0300 |
commit | 04a92358b3964988c78dfe370a559ae550383886 (patch) | |
tree | a0b06da33f5da51b67b94a8d759d28316cd9c148 /arch/arm/mach-omap1/id.c | |
parent | 3af89f2d3dceabce12cc656de39fe126c0061e76 (diff) | |
download | linux-04a92358b3964988c78dfe370a559ae550383886.tar.xz |
ARM: OMAP1/2: fix SoC name printing
Currently we get extra newlines on OMAP1/2 when the SoC name is printed:
[ 0.000000] OMAP1510
[ 0.000000] revision 2 handled as 15xx id: bc058c9b93111a16
[ 0.000000] OMAP2420
[ 0.000000]
Fix by using pr_cont.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/id.c')
-rw-r--r-- | arch/arm/mach-omap1/id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/id.c b/arch/arm/mach-omap1/id.c index 52de382fc804..7e49dfda3d2f 100644 --- a/arch/arm/mach-omap1/id.c +++ b/arch/arm/mach-omap1/id.c @@ -200,10 +200,10 @@ void __init omap_check_revision(void) printk(KERN_INFO "Unknown OMAP cpu type: 0x%02x\n", cpu_type); } - printk(KERN_INFO "OMAP%04x", omap_revision >> 16); + pr_info("OMAP%04x", omap_revision >> 16); if ((omap_revision >> 8) & 0xff) - printk(KERN_INFO "%x", (omap_revision >> 8) & 0xff); - printk(KERN_INFO " revision %i handled as %02xxx id: %08x%08x\n", + pr_cont("%x", (omap_revision >> 8) & 0xff); + pr_cont(" revision %i handled as %02xxx id: %08x%08x\n", die_rev, omap_revision & 0xff, system_serial_low, system_serial_high); } |