summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp/common.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-09-21 17:06:46 +0300
committerArnd Bergmann <arnd@arndb.de>2023-01-16 11:26:05 +0300
commit77acc85ce797a4a19a46c9677dec5a9910c6e4e7 (patch)
tree788eb6758044f19d06d50595bea7b280099e2a31 /arch/arm/mach-mmp/common.c
parent028908f2ca6fc046a9932fb2d2f0409f4684ea41 (diff)
downloadlinux-77acc85ce797a4a19a46c9677dec5a9910c6e4e7.tar.xz
ARM: mmp: remove device definitions
Since all board support is now gone, a lot of code in the platform is no longer called and can be removed as well. The remaining parts are: * The interrupt numbers for pxa910 are still needed for the power management support. * The 'mfp' device is still statically initialized from platform code, though this could be moved into the pinctrl code * The CPU identification code is used for the cpu_is_mmp*() macros. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-mmp/common.c')
-rw-r--r--arch/arm/mach-mmp/common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-mmp/common.c b/arch/arm/mach-mmp/common.c
index e94349d4726c..b3c1a248db31 100644
--- a/arch/arm/mach-mmp/common.c
+++ b/arch/arm/mach-mmp/common.c
@@ -58,8 +58,3 @@ void __init mmp2_map_io(void)
mmp_map_io();
iotable_init(mmp2_io_desc, ARRAY_SIZE(mmp2_io_desc));
}
-
-void mmp_restart(enum reboot_mode mode, const char *cmd)
-{
- soft_restart(0);
-}