diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-09-27 18:57:07 +0200 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-10-28 16:38:38 +0100 |
commit | 3995253d43cfecb0012ea995768d4d0ff098962c (patch) | |
tree | a6c597bc66938510f14182d26a383259d95d6f06 /Makefile | |
parent | c093515d9dfe335083e0b2fc3e5317597dc6faa9 (diff) |
ARM: ux500: cpuidle: fix section mismatch
commit 2c2b24d9c3e96d5cf974be4559a936e7f3b50225 upstream.
The dbx500_cpuidle_probe is tagged as an __init section but the variable
dbx500_cpuidle_plat_driver is not.
The dbx500_cpuidle_probe could not be declared as __init because of macro
module_platform_driver builds the exit function, tags as __exit and this one
refers to the dbx500_cpuidle_plat_driver which is an __initdata.
That leads to a section mismatch.
Fix it by removing the __init tag for the probe function.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions