linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c
@ 2014-05-28  9:27 Sachin Kamat
  2014-05-28  9:28 ` [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
  2014-05-30  1:15 ` [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Viresh Kumar
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2014-05-28  9:27 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>
---
 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] 4+ messages in thread

* [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c
  2014-05-28  9:27 [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
@ 2014-05-28  9:28 ` Sachin Kamat
  2014-05-30  1:16   ` Viresh Kumar
  2014-05-30  1:15 ` [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Viresh Kumar
  1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2014-05-28  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Symbols local to this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 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] 4+ messages in thread

* [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c
  2014-05-28  9:27 [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
  2014-05-28  9:28 ` [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
@ 2014-05-30  1:15 ` Viresh Kumar
  1 sibling, 0 replies; 4+ messages in thread
From: Viresh Kumar @ 2014-05-30  1:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 28 May 2014 14:57, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'spear1310_io_desc' is used only in this file.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-spear/spear1310.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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

* [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c
  2014-05-28  9:28 ` [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
@ 2014-05-30  1:16   ` Viresh Kumar
  0 siblings, 0 replies; 4+ messages in thread
From: Viresh Kumar @ 2014-05-30  1:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 28 May 2014 14:58, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Symbols local to this file are made static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-spear/spear1340.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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

end of thread, other threads:[~2014-05-30  1:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28  9:27 [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
2014-05-28  9:28 ` [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
2014-05-30  1:16   ` Viresh Kumar
2014-05-30  1:15 ` [PATCH 1/2] ARM: spear: Staticize spear1310_io_desc in spear1310.c Viresh Kumar

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).