* [PATCH Resend 1/8] ARM: sti: Staticize local variables
@ 2014-05-30 10:37 Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
Symbols local to this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Cc: kernel at stlinux.com
Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
---
arch/arm/mach-sti/platsmp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
index fa2c33ffac04..d4b624f8dfcb 100644
--- a/arch/arm/mach-sti/platsmp.c
+++ b/arch/arm/mach-sti/platsmp.c
@@ -36,7 +36,7 @@ static void write_pen_release(int val)
static DEFINE_SPINLOCK(boot_lock);
-void sti_secondary_init(unsigned int cpu)
+static void sti_secondary_init(unsigned int cpu)
{
trace_hardirqs_off();
@@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu)
spin_unlock(&boot_lock);
}
-int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
+static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
unsigned long timeout;
@@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
return pen_release != -1 ? -ENOSYS : 0;
}
-void __init sti_smp_prepare_cpus(unsigned int max_cpus)
+static void __init sti_smp_prepare_cpus(unsigned int max_cpus)
{
void __iomem *scu_base = NULL;
struct device_node *np = of_find_compatible_node(
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 3/8] ARM: mvebu: Staticize armada_370_xp_cpu_pm_init Sachin Kamat
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
'armada_375_smp_cpu1_enable_wa' is local to this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
arch/arm/mach-mvebu/platsmp-a9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/platsmp-a9.c b/arch/arm/mach-mvebu/platsmp-a9.c
index 96c2c59e34b6..abe02b15c9a3 100644
--- a/arch/arm/mach-mvebu/platsmp-a9.c
+++ b/arch/arm/mach-mvebu/platsmp-a9.c
@@ -33,7 +33,7 @@
extern unsigned char armada_375_smp_cpu1_enable_code_end;
extern unsigned char armada_375_smp_cpu1_enable_code_start;
-void armada_375_smp_cpu1_enable_wa(void)
+static void armada_375_smp_cpu1_enable_wa(void)
{
void __iomem *sram_virt_base;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 3/8] ARM: mvebu: Staticize armada_370_xp_cpu_pm_init
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 4/8] ARM: mvebu: Staticize mvebu_cpu_reset_init Sachin Kamat
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
'armada_370_xp_cpu_pm_init' is local to this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
arch/arm/mach-mvebu/pmsu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 53a55c8520bf..861f6be7a26c 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -263,7 +263,7 @@ static struct notifier_block armada_370_xp_cpu_pm_notifier = {
.notifier_call = armada_370_xp_cpu_pm_notify,
};
-int __init armada_370_xp_cpu_pm_init(void)
+static int __init armada_370_xp_cpu_pm_init(void)
{
struct device_node *np;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 4/8] ARM: mvebu: Staticize mvebu_cpu_reset_init
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 3/8] ARM: mvebu: Staticize armada_370_xp_cpu_pm_init Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols Sachin Kamat
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
'mvebu_cpu_reset_init' is local to this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
arch/arm/mach-mvebu/cpu-reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/cpu-reset.c b/arch/arm/mach-mvebu/cpu-reset.c
index 4a8f9eebebea..60fb53787004 100644
--- a/arch/arm/mach-mvebu/cpu-reset.c
+++ b/arch/arm/mach-mvebu/cpu-reset.c
@@ -67,7 +67,7 @@ static int mvebu_cpu_reset_map(struct device_node *np, int res_idx)
return 0;
}
-int __init mvebu_cpu_reset_init(void)
+static int __init mvebu_cpu_reset_init(void)
{
struct device_node *np;
int res_idx;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
` (2 preceding siblings ...)
2014-05-30 10:37 ` [PATCH Resend 4/8] ARM: mvebu: Staticize mvebu_cpu_reset_init Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc Sachin Kamat
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
Variables local to this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
---
arch/arm/mach-vt8500/vt8500.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-vt8500/vt8500.c b/arch/arm/mach-vt8500/vt8500.c
index 4a73464cb11b..2da7be31e7e2 100644
--- a/arch/arm/mach-vt8500/vt8500.c
+++ b/arch/arm/mach-vt8500/vt8500.c
@@ -44,7 +44,7 @@
static void __iomem *pmc_base;
-void vt8500_restart(enum reboot_mode mode, const char *cmd)
+static void vt8500_restart(enum reboot_mode mode, const char *cmd)
{
if (pmc_base)
writel(1, pmc_base + VT8500_PMSR_REG);
@@ -60,7 +60,7 @@ static struct map_desc vt8500_io_desc[] __initdata = {
},
};
-void __init vt8500_map_io(void)
+static void __init vt8500_map_io(void)
{
iotable_init(vt8500_io_desc, ARRAY_SIZE(vt8500_io_desc));
}
@@ -72,7 +72,7 @@ static void vt8500_power_off(void)
asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0));
}
-void __init vt8500_init(void)
+static void __init vt8500_init(void)
{
struct device_node *np;
#if defined(CONFIG_FB_VT8500) || defined(CONFIG_FB_WM8505)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
` (3 preceding siblings ...)
2014-05-30 10:37 ` [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-06-02 7:55 ` Viresh Kumar
2014-05-30 10:37 ` [PATCH Resend 7/8] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
6 siblings, 1 reply; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
'spear13xx_io_desc' is used only in this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Cc: spear-devel at list.st.com
---
arch/arm/mach-spear/spear13xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-spear/spear13xx.c b/arch/arm/mach-spear/spear13xx.c
index c9897ea38980..8b56fe61a492 100644
--- a/arch/arm/mach-spear/spear13xx.c
+++ b/arch/arm/mach-spear/spear13xx.c
@@ -57,7 +57,7 @@ void __init spear13xx_l2x0_init(void)
* 0xEC000000 0xFC000000
* 0xED000000 0xFB000000
*/
-struct map_desc spear13xx_io_desc[] __initdata = {
+static struct map_desc spear13xx_io_desc[] __initdata = {
{
.virtual = (unsigned long)VA_PERIP_GRP2_BASE,
.pfn = __phys_to_pfn(PERIP_GRP2_BASE),
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 7/8] ARM: spear: Staticize spear1310_io_desc in spear1310.c
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
` (4 preceding siblings ...)
2014-05-30 10:37 ` [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
'spear1310_io_desc' is used only in this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Cc: spear-devel at list.st.com
---
arch/arm/mach-spear/spear1310.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-spear/spear1310.c b/arch/arm/mach-spear/spear1310.c
index 824b12a56a42..d9ce4d8000f0 100644
--- a/arch/arm/mach-spear/spear1310.c
+++ b/arch/arm/mach-spear/spear1310.c
@@ -42,7 +42,7 @@ static const char * const spear1310_dt_board_compat[] = {
* PHYSICAL VIRTUAL
* 0xD8000000 0xFA000000
*/
-struct map_desc spear1310_io_desc[] __initdata = {
+static struct map_desc spear1310_io_desc[] __initdata = {
{
.virtual = VA_SPEAR1310_RAS_GRP1_BASE,
.pfn = __phys_to_pfn(SPEAR1310_RAS_GRP1_BASE),
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
` (5 preceding siblings ...)
2014-05-30 10:37 ` [PATCH Resend 7/8] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
@ 2014-05-30 10:37 ` Sachin Kamat
6 siblings, 0 replies; 9+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
To: linux-arm-kernel
Symbols local to this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Cc: spear-devel at list.st.com
---
arch/arm/mach-spear/spear1340.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c
index 7b6bff7154e1..c601799b4aea 100644
--- a/arch/arm/mach-spear/spear1340.c
+++ b/arch/arm/mach-spear/spear1340.c
@@ -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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc
2014-05-30 10:37 ` [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc Sachin Kamat
@ 2014-06-02 7:55 ` Viresh Kumar
0 siblings, 0 replies; 9+ messages in thread
From: Viresh Kumar @ 2014-06-02 7:55 UTC (permalink / raw)
To: linux-arm-kernel
On 30 May 2014 16:07, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'spear13xx_io_desc' is used only in this file.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
> Cc: spear-devel at list.st.com
> ---
> arch/arm/mach-spear/spear13xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-06-02 7:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 3/8] ARM: mvebu: Staticize armada_370_xp_cpu_pm_init Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 4/8] ARM: mvebu: Staticize mvebu_cpu_reset_init Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc Sachin Kamat
2014-06-02 7:55 ` Viresh Kumar
2014-05-30 10:37 ` [PATCH Resend 7/8] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
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).