2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/drivers/powercap
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
..
intel_rapl.c powercap / RAPL: mark rapl_ids array as __initconst 2015-04-11 02:21:15 +02:00
Kconfig powercap / RAPL: fix build dependency on iosf_mbi 2014-11-12 21:09:19 +01:00
Makefile PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
powercap_sys.c PowerCap: Fix mode for energy counter 2013-12-05 02:05:48 +01:00