linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: socfpga: Clean unused functions
@ 2018-10-04  8:54 Clément Péron
  2018-10-04  8:54 ` [PATCH 2/3] ARM: socfpga: Turn on all peripheral clocks for a system reboot Clément Péron
  2018-10-04  8:54 ` [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache Clément Péron
  0 siblings, 2 replies; 5+ messages in thread
From: Clément Péron @ 2018-10-04  8:54 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/mach-socfpga/core.h    | 2 --
 arch/arm/mach-socfpga/socfpga.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h
index 65e1817d8afe..92cae0a9213f 100644
--- a/arch/arm/mach-socfpga/core.h
+++ b/arch/arm/mach-socfpga/core.h
@@ -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);
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c
index dde14f7bf2c3..5fb6f79059a8 100644
--- a/arch/arm/mach-socfpga/socfpga.c
+++ b/arch/arm/mach-socfpga/socfpga.c
@@ -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;
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-04  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04  8:54 [PATCH 1/3] ARM: socfpga: Clean unused functions Clément Péron
2018-10-04  8:54 ` [PATCH 2/3] ARM: socfpga: Turn on all peripheral clocks for a system reboot Clément Péron
2018-10-04  8:54 ` [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache Clément Péron
2018-10-04  9:16   ` Russell King - ARM Linux
2018-10-04  9:24     ` Clément Péron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).