commit | c29d387b0bffb3ccce76e4fcdad9bfa7344ba338 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nicolas.pitre@linaro.org> | Sat Nov 21 20:41:07 2015 -0500 |
committer | Simon Horman <horms+renesas@verge.net.au> | Sun Nov 22 17:13:13 2015 -0800 |
tree | bb5efabbad024abb8cee80df86449a376fa8817a | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec [diff] |
ARM: shmobile: r8a7793: proper constness with __initconst Both the pointer array and the pointed data have to be const when using __initconst to be correct. This also fixes LTO builds that otherwise fail with section mismatch errors. Fixes: ec60d95b4fac ("ARM: shmobile: Basic r8a7793 SoC support") Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>