Commit 48e2bab9 authored by Clément Péron's avatar Clément Péron Committed by Dinh Nguyen

ARM: socfpga: Clean unused functions

These functions are unused externally, removed them and declare
the one used locally as static.
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent f6628486
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#define RSTMGR_MPUMODRST_CPU1 0x2 /* CPU1 Reset */ #define RSTMGR_MPUMODRST_CPU1 0x2 /* CPU1 Reset */
extern void socfpga_init_clocks(void);
extern void socfpga_sysmgr_init(void);
void socfpga_init_l2_ecc(void); void socfpga_init_l2_ecc(void);
void socfpga_init_ocram_ecc(void); void socfpga_init_ocram_ecc(void);
void socfpga_init_arria10_l2_ecc(void); void socfpga_init_arria10_l2_ecc(void);
......
...@@ -32,7 +32,7 @@ void __iomem *rst_manager_base_addr; ...@@ -32,7 +32,7 @@ void __iomem *rst_manager_base_addr;
void __iomem *sdr_ctl_base_addr; void __iomem *sdr_ctl_base_addr;
unsigned long socfpga_cpu1start_addr; unsigned long socfpga_cpu1start_addr;
void __init socfpga_sysmgr_init(void) static void __init socfpga_sysmgr_init(void)
{ {
struct device_node *np; struct device_node *np;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment