]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: spear: Staticize local symbols in spear1340.c
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 24 Jun 2014 11:43:55 +0000 (17:13 +0530)
committerOlof Johansson <olof@lixom.net>
Mon, 7 Jul 2014 00:50:20 +0000 (17:50 -0700)
Symbols local to this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-spear/spear1340.c

index 7b6bff7154e11ee81f6f5be1e962df81665e888c..c601799b4aeaf0f5b33484d10dbc4b35ea97237c 100644 (file)
@@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr)
        return 0;
 }
 
-void sata_miphy_exit(struct device *dev)
+static void sata_miphy_exit(struct device *dev)
 {
        writel(0, SPEAR1340_PCIE_SATA_CFG);
        writel(0, SPEAR1340_PCIE_MIPHY_CFG);
@@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev)
        msleep(20);
 }
 
-int sata_suspend(struct device *dev)
+static int sata_suspend(struct device *dev)
 {
        if (dev->power.power_state.event == PM_EVENT_FREEZE)
                return 0;
@@ -117,7 +117,7 @@ int sata_suspend(struct device *dev)
        return 0;
 }
 
-int sata_resume(struct device *dev)
+static int sata_resume(struct device *dev)
 {
        if (dev->power.power_state.event == PM_EVENT_THAW)
                return 0;