All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata
@ 2013-08-07  9:59 Sachin Kamat
  2013-08-07 10:59 ` Guenter Roeck
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Sachin Kamat @ 2013-08-07  9:59 UTC (permalink / raw)
  To: lm-sensors

__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: Darrick J. Wong <djwong@us.ibm.com>
---
 drivers/hwmon/acpi_power_meter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/acpi_power_meter.c b/drivers/hwmon/acpi_power_meter.c
index 6351aba..d7d9b2f 100644
--- a/drivers/hwmon/acpi_power_meter.c
+++ b/drivers/hwmon/acpi_power_meter.c
@@ -970,7 +970,7 @@ static int __init enable_cap_knobs(const struct dmi_system_id *d)
 	return 0;
 }
 
-static struct dmi_system_id __initdata pm_dmi_table[] = {
+static struct dmi_system_id pm_dmi_table[] __initdata = {
 	{
 		enable_cap_knobs, "IBM Active Energy Manager",
 		{
-- 
1.7.9.5


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

end of thread, other threads:[~2013-08-27 15:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07  9:59 [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata Sachin Kamat
2013-08-07 10:59 ` Guenter Roeck
2013-08-26 20:47 ` Jean Delvare
2013-08-26 22:48 ` Guenter Roeck
2013-08-27 11:14 ` Jean Delvare
2013-08-27 11:30 ` Russell King - ARM Linux
2013-08-27 13:37 ` Guenter Roeck
2013-08-27 13:57 ` Jean Delvare
2013-08-27 14:07 ` Russell King - ARM Linux
2013-08-27 14:10 ` Russell King - ARM Linux
2013-08-27 14:13 ` Jean Delvare
2013-08-27 14:50 ` Sachin Kamat
2013-08-27 14:55 ` Sachin Kamat
2013-08-27 14:57 ` Jean Delvare
2013-08-27 14:59 ` Jean Delvare
2013-08-27 15:25 ` Guenter Roeck
2013-08-27 15:30 ` Jean Delvare
2013-08-27 15:33 ` Guenter Roeck

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.