cpufreq: dt: Mark platdev machines array as __initconst
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 22 Apr 2016 11:28:39 +0000 (16:58 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 14:18:22 +0000 (16:18 +0200)
commite92bb16674c5156ea9230ba7a3ab6d490750888f
treee4291ccdc1981244649ad66d7f9cf4f3abea669e
parent394cb8316b44e86f64c39ee943bc9bc4f813283b
cpufreq: dt: Mark platdev machines array as __initconst

The machines array in cpufreq-dt-platdev is used only once at boot time
and so should be marked with __initconst, so that kernel can free up
memory used for it, if required.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt-platdev.c