summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2015-07-13 02:15:33 -0400
committerSimon Horman <horms+renesas@verge.net.au>2015-07-27 20:27:15 -0400
commit640780efdd97eefd9ee78e1cd03ba97b1a1e1d9a (patch)
treef264279504596e033e71878d2916e133965d7fb4
parent26f9e03fb1c8b8b5dd2f1ad34da775cc129df98a (diff)
ARM: shmobile: r8a7779: Cleanup header file
Remove unused function prototypes from r8a7779.h and make the functions static. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/clock-r8a7779.c2
-rw-r--r--arch/arm/mach-shmobile/r8a7779.h2
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7779.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7779.c b/arch/arm/mach-shmobile/clock-r8a7779.c
index fa8ab2cc9187..a376ba3b67c0 100644
--- a/arch/arm/mach-shmobile/clock-r8a7779.c
+++ b/arch/arm/mach-shmobile/clock-r8a7779.c
@@ -201,7 +201,7 @@ static struct clk_lookup lookups[] = {
201 CLKDEV_DEV_ID("rcar-du-r8a7779", &mstp_clks[MSTP103]), /* DU */ 201 CLKDEV_DEV_ID("rcar-du-r8a7779", &mstp_clks[MSTP103]), /* DU */
202}; 202};
203 203
204void __init r8a7779_clock_init(void) 204static void __init r8a7779_clock_init(void)
205{ 205{
206 u32 mode = r8a7779_read_mode_pins(); 206 u32 mode = r8a7779_read_mode_pins();
207 int k, ret = 0; 207 int k, ret = 0;
diff --git a/arch/arm/mach-shmobile/r8a7779.h b/arch/arm/mach-shmobile/r8a7779.h
index 19f97046dd70..f69c7477178b 100644
--- a/arch/arm/mach-shmobile/r8a7779.h
+++ b/arch/arm/mach-shmobile/r8a7779.h
@@ -11,7 +11,6 @@ enum {
11}; 11};
12 12
13extern void r8a7779_init_irq_extpin(int irlm); 13extern void r8a7779_init_irq_extpin(int irlm);
14extern void r8a7779_init_irq_extpin_dt(int irlm);
15extern void r8a7779_init_irq_dt(void); 14extern void r8a7779_init_irq_dt(void);
16extern void r8a7779_map_io(void); 15extern void r8a7779_map_io(void);
17extern void r8a7779_earlytimer_init(void); 16extern void r8a7779_earlytimer_init(void);
@@ -19,7 +18,6 @@ extern void r8a7779_add_early_devices(void);
19extern void r8a7779_add_standard_devices(void); 18extern void r8a7779_add_standard_devices(void);
20extern void r8a7779_init_late(void); 19extern void r8a7779_init_late(void);
21extern u32 r8a7779_read_mode_pins(void); 20extern u32 r8a7779_read_mode_pins(void);
22extern void r8a7779_clock_init(void);
23extern void r8a7779_pinmux_init(void); 21extern void r8a7779_pinmux_init(void);
24extern void r8a7779_pm_init(void); 22extern void r8a7779_pm_init(void);
25extern void r8a7779_register_twd(void); 23extern void r8a7779_register_twd(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
index 2c3e433f84ca..f436cba958fa 100644
--- a/arch/arm/mach-shmobile/setup-r8a7779.c
+++ b/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -99,7 +99,7 @@ static struct resource irqpin0_resources[] __initdata = {
99 DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */ 99 DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */
100}; 100};
101 101
102void __init r8a7779_init_irq_extpin_dt(int irlm) 102static void __init r8a7779_init_irq_extpin_dt(int irlm)
103{ 103{
104 void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE); 104 void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE);
105 u32 tmp; 105 u32 tmp;