linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] leds: clevo-mail: Fix incorrect placement of __initdata
@ 2013-08-07  9:30 Sachin Kamat
  2013-08-07  9:30 ` [PATCH 2/2] leds: ss4200: " Sachin Kamat
  2013-08-07 21:05 ` [PATCH 1/2] leds: clevo-mail: " Bryan Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-08-07  9:30 UTC (permalink / raw)
  To: linux-leds; +Cc: cooloney, rpurdie, sachin.kamat, Márton Németh

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Márton Németh <nm127@freemail.hu>
---
 drivers/leds/leds-clevo-mail.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c
index 6a8405d..d93e245 100644
--- a/drivers/leds/leds-clevo-mail.c
+++ b/drivers/leds/leds-clevo-mail.c
@@ -40,7 +40,7 @@ static int __init clevo_mail_led_dmi_callback(const struct dmi_system_id *id)
  * detected as working, but in reality it is not) as low as
  * possible.
  */
-static struct dmi_system_id __initdata clevo_mail_led_dmi_table[] = {
+static struct dmi_system_id clevo_mail_led_dmi_table[] __initdata = {
 	{
 		.callback = clevo_mail_led_dmi_callback,
 		.ident = "Clevo D410J",
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-08-07 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07  9:30 [PATCH 1/2] leds: clevo-mail: Fix incorrect placement of __initdata Sachin Kamat
2013-08-07  9:30 ` [PATCH 2/2] leds: ss4200: " Sachin Kamat
2013-08-07 21:07   ` Bryan Wu
2013-08-07 21:05 ` [PATCH 1/2] leds: clevo-mail: " Bryan Wu

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