ACPI / battery: mark DMI table as __initconst
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:26:55 +0000 (14:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:23:44 +0000 (14:23 +0200)
commit048d16da75cc3ae1a75455c0e7b2bf107c4f0f84
treeb251c007186521df5075fc3825d9021e8717b0e5
parent27059b9132880f4211c41dfbf7665671cbf1ac91
ACPI / battery: mark DMI table as __initconst

The bat_dmi_table[] DMI table is referenced from the __init function
acpi_battery_init_async() only. It and its referenced functions can
therefore be marked __initconst to free up ~1kB of runtime memory after
initialization is done.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c