forked from luck/tmp_suning_uos_patched
ARM: socfpga: Clean unused functions
These functions are unused externally, removed them and declare the one used locally as static. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
parent
f6628486c8
commit
48e2bab90d
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user