* [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
* [PATCH 2/2] leds: ss4200: Fix incorrect placement of __initdata
2013-08-07 9:30 [PATCH 1/2] leds: clevo-mail: Fix incorrect placement of __initdata Sachin Kamat
@ 2013-08-07 9:30 ` Sachin Kamat
2013-08-07 21:07 ` Bryan Wu
2013-08-07 21:05 ` [PATCH 1/2] leds: clevo-mail: " Bryan Wu
1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2013-08-07 9:30 UTC (permalink / raw)
To: linux-leds; +Cc: cooloney, rpurdie, sachin.kamat, Dave Hansen
__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: Dave Hansen <dave@sr71.net>
---
drivers/leds/leds-ss4200.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c
index 51bb0ee..5b8f938 100644
--- a/drivers/leds/leds-ss4200.c
+++ b/drivers/leds/leds-ss4200.c
@@ -91,7 +91,7 @@ MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection");
* detected as working, but in reality it is not) as low as
* possible.
*/
-static struct dmi_system_id __initdata nas_led_whitelist[] = {
+static struct dmi_system_id nas_led_whitelist[] __initdata = {
{
.callback = ss4200_led_dmi_callback,
.ident = "Intel SS4200-E",
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] leds: clevo-mail: Fix incorrect placement of __initdata
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:05 ` Bryan Wu
1 sibling, 0 replies; 4+ messages in thread
From: Bryan Wu @ 2013-08-07 21:05 UTC (permalink / raw)
To: Sachin Kamat; +Cc: Linux LED Subsystem, rpurdie, Márton Németh
On Wed, Aug 7, 2013 at 2:30 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
>
Merged, thanks.
-Bryan
> 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 [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] leds: ss4200: Fix incorrect placement of __initdata
2013-08-07 9:30 ` [PATCH 2/2] leds: ss4200: " Sachin Kamat
@ 2013-08-07 21:07 ` Bryan Wu
0 siblings, 0 replies; 4+ messages in thread
From: Bryan Wu @ 2013-08-07 21:07 UTC (permalink / raw)
To: Sachin Kamat; +Cc: Linux LED Subsystem, rpurdie, Dave Hansen
On Wed, Aug 7, 2013 at 2:30 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
>
Merged, thanks.
-Bryan
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Dave Hansen <dave@sr71.net>
> ---
> drivers/leds/leds-ss4200.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c
> index 51bb0ee..5b8f938 100644
> --- a/drivers/leds/leds-ss4200.c
> +++ b/drivers/leds/leds-ss4200.c
> @@ -91,7 +91,7 @@ MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection");
> * detected as working, but in reality it is not) as low as
> * possible.
> */
> -static struct dmi_system_id __initdata nas_led_whitelist[] = {
> +static struct dmi_system_id nas_led_whitelist[] __initdata = {
> {
> .callback = ss4200_led_dmi_callback,
> .ident = "Intel SS4200-E",
> --
> 1.7.9.5
>
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.