aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp/common.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2022-09-21 16:06:46 +0200
committerArnd Bergmann <[email protected]>2023-01-16 09:26:05 +0100
commit77acc85ce797a4a19a46c9677dec5a9910c6e4e7 (patch)
tree788eb6758044f19d06d50595bea7b280099e2a31 /arch/arm/mach-mmp/common.h
parent028908f2ca6fc046a9932fb2d2f0409f4684ea41 (diff)
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 <[email protected]>
Diffstat (limited to 'arch/arm/mach-mmp/common.h')
-rw-r--r--arch/arm/mach-mmp/common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mmp/common.h b/arch/arm/mach-mmp/common.h
index ed56b3f15b45..e18f05d5d68d 100644
--- a/arch/arm/mach-mmp/common.h
+++ b/arch/arm/mach-mmp/common.h
@@ -1,9 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/reboot.h>
-#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
extern void mmp_timer_init(int irq, unsigned long rate);
extern void __init mmp_map_io(void);
extern void __init mmp2_map_io(void);
-extern void mmp_restart(enum reboot_mode, const char *);