Commit 815fc8c06b57f283f942c6c25e3c58d6e4cb8fd7
Committed by
Simon Horman
1 parent
26449ecc21
ARM: shmobile: Remove obsolete custom earlyprintk code
The last caller of shmobile_setup_console() was removed in commit 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile A1"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Showing 3 changed files with 1 additions and 29 deletions Side-by-side Diff
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/common.h
... | ... | @@ -4,7 +4,6 @@ |
4 | 4 | extern void shmobile_earlytimer_init(void); |
5 | 5 | extern void shmobile_init_delay(void); |
6 | 6 | struct twd_local_timer; |
7 | -extern void shmobile_setup_console(void); | |
8 | 7 | extern void shmobile_boot_vector(void); |
9 | 8 | extern unsigned long shmobile_boot_fn; |
10 | 9 | extern unsigned long shmobile_boot_arg; |
arch/arm/mach-shmobile/console.c
1 | -/* | |
2 | - * SH-Mobile Console | |
3 | - * | |
4 | - * Copyright (C) 2010 Magnus Damm | |
5 | - * | |
6 | - * This program is free software; you can redistribute it and/or modify | |
7 | - * it under the terms of the GNU General Public License as published by | |
8 | - * the Free Software Foundation; version 2 of the License. | |
9 | - * | |
10 | - * This program is distributed in the hope that it will be useful, | |
11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | - * GNU General Public License for more details. | |
14 | - */ | |
15 | -#include <linux/kernel.h> | |
16 | -#include <linux/init.h> | |
17 | -#include <linux/platform_device.h> | |
18 | -#include <asm/mach/map.h> | |
19 | -#include "common.h" | |
20 | - | |
21 | -void __init shmobile_setup_console(void) | |
22 | -{ | |
23 | - parse_early_param(); | |
24 | - | |
25 | - /* Let earlyprintk output early console messages */ | |
26 | - early_platform_driver_probe("earlyprintk", 1, 1); | |
27 | -} |