ARM: shmobile: r8a7779: Cleanup header file
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 13 Jul 2015 06:15:33 +0000 (15:15 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 28 Jul 2015 00:27:15 +0000 (09:27 +0900)
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>
arch/arm/mach-shmobile/clock-r8a7779.c
arch/arm/mach-shmobile/r8a7779.h
arch/arm/mach-shmobile/setup-r8a7779.c

index fa8ab2cc91878af5f568b58521b62d3b9340a96e..a376ba3b67c0d97b222bdf33133e461b5b433a9a 100644 (file)
@@ -201,7 +201,7 @@ static struct clk_lookup lookups[] = {
        CLKDEV_DEV_ID("rcar-du-r8a7779", &mstp_clks[MSTP103]), /* DU */
 };
 
-void __init r8a7779_clock_init(void)
+static void __init r8a7779_clock_init(void)
 {
        u32 mode = r8a7779_read_mode_pins();
        int k, ret = 0;
index 19f97046dd708b2491b5d351cb372167ed5c93b6..f69c7477178b74568ef656fe9093acdfe665fe72 100644 (file)
@@ -11,7 +11,6 @@ enum {
 };
 
 extern void r8a7779_init_irq_extpin(int irlm);
-extern void r8a7779_init_irq_extpin_dt(int irlm);
 extern void r8a7779_init_irq_dt(void);
 extern void r8a7779_map_io(void);
 extern void r8a7779_earlytimer_init(void);
@@ -19,7 +18,6 @@ extern void r8a7779_add_early_devices(void);
 extern void r8a7779_add_standard_devices(void);
 extern void r8a7779_init_late(void);
 extern u32 r8a7779_read_mode_pins(void);
-extern void r8a7779_clock_init(void);
 extern void r8a7779_pinmux_init(void);
 extern void r8a7779_pm_init(void);
 extern void r8a7779_register_twd(void);
index 2c3e433f84ca217cec67b9e99fca7c6220ec21e6..f436cba958fa410f6a9c887f2acab42446cc2db6 100644 (file)
@@ -99,7 +99,7 @@ static struct resource irqpin0_resources[] __initdata = {
        DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */
 };
 
-void __init r8a7779_init_irq_extpin_dt(int irlm)
+static void __init r8a7779_init_irq_extpin_dt(int irlm)
 {
        void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE);
        u32 tmp;