Files
linux/drivers
Mathias Krause ea85dbcaec powercap / RAPL: mark rapl_ids array as __initconst
The RAPL ids are only tested in rapl_init() which is itself an __init
function. For the MODULE_DEVICE_TABLE() file2alias doesn't care about
the section, just about the symbol name. Therefore it's safe to mark the
rapl_ids[] array as __initconst so its memory can be released after
initialization is done.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-04-11 02:21:15 +02:00
..
2015-03-24 15:39:26 +01:00
2015-04-01 10:29:05 -07:00
2015-02-03 15:48:51 -08:00
2015-02-03 15:58:39 -08:00
2015-02-04 09:15:18 +01:00
2015-02-18 08:40:29 +01:00
2015-02-03 15:58:39 -08:00