From: Daniel Lezcano Date: Fri, 27 Sep 2013 16:57:07 +0000 (+0200) Subject: ARM: ux500: cpuidle: fix section mismatch X-Git-Tag: v3.13-rc1~96^2~16^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2b24d9c3e96d5cf974be4559a936e7f3b50225;p=pandora-kernel.git ARM: ux500: cpuidle: fix section mismatch 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 Acked-by: Linus Walleij --- Reading git-diff-tree failed