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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -34,8 +34,6 @@

#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_ocram_ecc(void);
void socfpga_init_arria10_l2_ecc(void);
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ void __iomem *rst_manager_base_addr;
void __iomem *sdr_ctl_base_addr;
unsigned long socfpga_cpu1start_addr;

void __init socfpga_sysmgr_init(void)
static void __init socfpga_sysmgr_init(void)
{
	struct device_node *np;