public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag
@ 2013-09-30 13:07 Bartlomiej Zolnierkiewicz
  2013-09-30 15:05 ` Laurent Pinchart
  0 siblings, 1 reply; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2013-09-30 13:07 UTC (permalink / raw)
  To: linux-arm-kernel

__initdata tag should be placed between the variable name and equal
sign for the variable to be placed in the intended .init.data section.

In this particular case __initdata is incorrect as ape6evm_keys_pdata
can be used as a platform data for gpio-keys driver which can be
compiled as module.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-shmobile/board-ape6evm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c
index 7627385..8954f55 100644
--- a/arch/arm/mach-shmobile/board-ape6evm.c
+++ b/arch/arm/mach-shmobile/board-ape6evm.c
@@ -86,7 +86,7 @@ static struct gpio_keys_button gpio_buttons[] = {
 	GPIO_KEY(KEY_VOLUMEDOWN,	329,	"S21"),
 };
 
-static struct __initdata gpio_keys_platform_data ape6evm_keys_pdata = {
+static struct gpio_keys_platform_data ape6evm_keys_pdata = {
 	.buttons	= gpio_buttons,
 	.nbuttons	= ARRAY_SIZE(gpio_buttons),
 };
-- 
1.8.2.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [GIT PULL] Fifth Round of Renesas ARM based SoC fixes for v3.12
@ 2013-10-04  8:19 Simon Horman
  2013-10-04  8:20 ` [PATCH] ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2013-10-04  8:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Kevin, Olof and Arnd,

please consider this fifth Round of Renesas ARM based SoC fixes for v3.12.

This pull request is based on renesas-fixes4-for-v3.12 which you have
already pulled.


The following changes since commit 3786f86b60833f32e3eeb016fcf8c324f8147e00:

  ARM: shmobile: Remove #gpio-ranges-cells DT property (2013-09-22 21:28:18 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-fixes5-for-v3.12

for you to fetch changes up to 40fca03cae59cfd9b87142ca327abb8a4d386908:

  ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag (2013-10-01 12:53:19 +0900)

----------------------------------------------------------------
Fifth Round of Renesas ARM based SoC fixes for v3.12

* Correct incorrect placement of __initdata tag in ape6evm board code

----------------------------------------------------------------
Bartlomiej Zolnierkiewicz (1):
      ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag

 arch/arm/mach-shmobile/board-ape6evm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

end of thread, other threads:[~2013-10-04  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 13:07 [PATCH] ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag Bartlomiej Zolnierkiewicz
2013-09-30 15:05 ` Laurent Pinchart
2013-09-30 15:31   ` Bartlomiej Zolnierkiewicz
  -- strict thread matches above, loose matches on Subject: below --
2013-10-04  8:19 [GIT PULL] Fifth Round of Renesas ARM based SoC fixes for v3.12 Simon Horman
2013-10-04  8:20 ` [PATCH] ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox