drivers/clk: appropriate __init annotation for const data
authorNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 28 Jul 2015 23:43:20 +0000 (19:43 -0400)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 24 Aug 2015 23:59:32 +0000 (16:59 -0700)
commite3ee276a5a62a1cd06de46aa0c808000d3fef00e
tree0b36813b9b0f3dfd99f91d0083e32fe09973529d
parent10897370345b792c00ccba6aa7ea86ae6bfa2c7a
drivers/clk: appropriate __init annotation for const data

Init data marked const should be annotated with __initconst for
correctness and not __initdata.  This also fixes LTO builds that
otherwise fail with section mismatch errors.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
[sboyd@codeaurora.org: Dropped hunks that moved const char *
arrays to const char * const]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/versatile/clk-realview.c
drivers/clk/versatile/clk-versatile.c