diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-05-20 11:09:42 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 12:10:10 +0400 |
commit | 364b28a574c4d4cb673d99ff1c59e9f2ddbf57f9 (patch) | |
tree | c389fee5c829762bf7319dc62b2db08908526825 /arch/arm | |
parent | c745cae7027cf9eb96bdc2fd751bd03a196362e5 (diff) | |
download | linux-364b28a574c4d4cb673d99ff1c59e9f2ddbf57f9.tar.xz |
ARM: imx5: clean function declarations in mx51.h
The mx51_display_revision() is a dead declaration. Remove it. Also,
move mx51_revision() into common.h.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/mx51.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 53ee5692610c..5aaea2bcf4f3 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -64,6 +64,7 @@ void mxc_set_cpu_type(unsigned int type); void mxc_restart(enum reboot_mode, const char *); void mxc_arch_reset_init(void __iomem *); void mxc_arch_reset_init_dt(void); +int mx51_revision(void); int mx53_revision(void); void imx_set_aips(void __iomem *); int mxc_device_init(void); diff --git a/arch/arm/mach-imx/mx51.h b/arch/arm/mach-imx/mx51.h index 3f6d4a674ffb..a569528ef0ed 100644 --- a/arch/arm/mach-imx/mx51.h +++ b/arch/arm/mach-imx/mx51.h @@ -305,9 +305,4 @@ #define MX51_INT_EMI_NFC (NR_IRQS_LEGACY + 101) #define MX51_INT_GPU_IDLE (NR_IRQS_LEGACY + 102) -#if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) -extern int mx51_revision(void); -extern void mx51_display_revision(void); -#endif - #endif /* ifndef __MACH_MX51_H__ */ |