* [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c
@ 2014-05-28 9:26 Sachin Kamat
2014-05-28 9:26 ` [PATCH 2/2] ARM: ux500: Staticize ab8505_regulators Sachin Kamat
2014-05-28 12:14 ` [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Linus Walleij
0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2014-05-28 9:26 UTC (permalink / raw)
To: linux-arm-kernel
Cc: linus.walleij, lee.jones, linux, sachin.kamat, linux-kernel
Symbols local to this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
arch/arm/mach-ux500/cpu-db8500.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index fa308f07fae5..6f63954c8bde 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -33,11 +33,11 @@
#include "db8500-regs.h"
#include "id.h"
-struct ab8500_platform_data ab8500_platdata = {
+static struct ab8500_platform_data ab8500_platdata = {
.regulator = &ab8500_regulator_plat_data,
};
-struct prcmu_pdata db8500_prcmu_pdata = {
+static struct prcmu_pdata db8500_prcmu_pdata = {
.ab_platdata = &ab8500_platdata,
.version_offset = DB8500_PRCMU_FW_VERSION_OFFSET,
.legacy_offset = DB8500_PRCMU_LEGACY_OFFSET,
@@ -82,7 +82,7 @@ static struct map_desc u9540_io_desc[] __initdata = {
__IO_DEV_DESC(U8500_PRCMU_TCDM_BASE, SZ_4K + SZ_8K),
};
-void __init u8500_map_io(void)
+static void __init u8500_map_io(void)
{
/*
* Map the UARTs early so that the DEBUG_LL stuff continues to work.
@@ -119,7 +119,7 @@ static irqreturn_t db8500_pmu_handler(int irq, void *dev, irq_handler_t handler)
return ret;
}
-struct arm_pmu_platdata db8500_pmu_platdata = {
+static struct arm_pmu_platdata db8500_pmu_platdata = {
.handle_irq = db8500_pmu_handler,
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] ARM: ux500: Staticize ab8505_regulators
2014-05-28 9:26 [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Sachin Kamat
@ 2014-05-28 9:26 ` Sachin Kamat
2014-05-28 12:16 ` Linus Walleij
2014-05-28 12:14 ` [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Linus Walleij
1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2014-05-28 9:26 UTC (permalink / raw)
To: linux-arm-kernel
Cc: linus.walleij, lee.jones, linux, sachin.kamat, linux-kernel
'ab8505_regulators' is used only in this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
arch/arm/mach-ux500/board-mop500-regulators.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c
index a4e139aa2441..32d744e91ec2 100644
--- a/arch/arm/mach-ux500/board-mop500-regulators.c
+++ b/arch/arm/mach-ux500/board-mop500-regulators.c
@@ -796,7 +796,7 @@ static struct ab8500_regulator_reg_init ab8505_reg_init[] = {
INIT_REGULATOR_REGISTER(AB8505_CTRLVAUX6, 0x00, 0x00),
};
-struct regulator_init_data ab8505_regulators[AB8505_NUM_REGULATORS] = {
+static struct regulator_init_data ab8505_regulators[AB8505_NUM_REGULATORS] = {
/* supplies to the display/camera */
[AB8505_LDO_AUX1] = {
.constraints = {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c
2014-05-28 9:26 [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Sachin Kamat
2014-05-28 9:26 ` [PATCH 2/2] ARM: ux500: Staticize ab8505_regulators Sachin Kamat
@ 2014-05-28 12:14 ` Linus Walleij
1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2014-05-28 12:14 UTC (permalink / raw)
To: Sachin Kamat
Cc: linux-arm-kernel@lists.infradead.org, Lee Jones,
Russell King - ARM Linux, linux-kernel@vger.kernel.org
On Wed, May 28, 2014 at 11:26 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Symbols local to this file are made static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-28 12: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:26 [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Sachin Kamat
2014-05-28 9:26 ` [PATCH 2/2] ARM: ux500: Staticize ab8505_regulators Sachin Kamat
2014-05-28 12:16 ` Linus Walleij
2014-05-28 12:14 ` [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Linus Walleij
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).