linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: paz00: fix __initdata placement
@ 2017-01-23  7:43 Dmitry Torokhov
  2017-01-23 10:04 ` Marc Dietrich
  2017-01-25  8:11 ` Thierry Reding
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2017-01-23  7:43 UTC (permalink / raw)
  To: linux-arm-kernel

To have expected effect the __initdata attribute should go after variable
name and before initializer.`

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 arch/arm/mach-tegra/board-paz00.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c
index 7478f6fb3664..ea6bff404161 100644
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@ -23,7 +23,7 @@
 
 #include "board.h"
 
-static struct property_entry __initdata wifi_rfkill_prop[] = {
+static struct property_entry wifi_rfkill_prop[] __initdata = {
 	PROPERTY_ENTRY_STRING("name", "wifi_rfkill"),
 	PROPERTY_ENTRY_STRING("type", "wlan"),
 	{ },
-- 
2.11.0.483.g087da7b7c-goog


-- 
Dmitry

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

end of thread, other threads:[~2017-01-25  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23  7:43 [PATCH] ARM: tegra: paz00: fix __initdata placement Dmitry Torokhov
2017-01-23 10:04 ` Marc Dietrich
2017-01-23 16:24   ` Thierry Reding
2017-01-24  9:08     ` Marc Dietrich
2017-01-24 18:27     ` Dmitry Torokhov
2017-01-25  8:11 ` Thierry Reding

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