Hi Sachin, On Wed, 7 Aug 2013 15:17:13 +0530, Sachin Kamat wrote: > __initdata should be placed between the variable name and equal > sign for the variable to be placed in the intended section. Really? With gcc 4.7.2 of openSUSE 12.3/x86-64, I see no difference with and without this change. pm_dmi_table is in section .init.data in both cases. So when/where/how does it actually matter? I see that there are hundreds of other occurrences of this in the kernel tree, so I admit I have a hard time believing it is actually wrong, and I would appreciate extra explanations. > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > Cc: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > 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", > { -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors