diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-20 21:53:03 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-30 17:59:21 -0400 |
commit | f612a4fbdc8d6c77eb3721557f64bf0653ee5299 (patch) | |
tree | 9abf906b0582c8a1961a7bc774c814b5ab177885 | |
parent | ae7c4c878046b09c38d7c6cb49328df032f3d987 (diff) |
ARM: EXYNOS: Remove incorrect __init annotation from cpuidle driver
When platform_driver_probe() is not used, bind/unbind via sysfs is
enabled. Thus, __init annotation should be removed from probe().
Also, this patch fixes section mismatch warning.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | arch/arm/mach-exynos/cpuidle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 6616e0fad689..ddbfe8709fe7 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c | |||
@@ -193,7 +193,7 @@ static void __init exynos5_core_down_clk(void) | |||
193 | __raw_writel(tmp, EXYNOS5_PWR_CTRL2); | 193 | __raw_writel(tmp, EXYNOS5_PWR_CTRL2); |
194 | } | 194 | } |
195 | 195 | ||
196 | static int __init exynos_cpuidle_probe(struct platform_device *pdev) | 196 | static int exynos_cpuidle_probe(struct platform_device *pdev) |
197 | { | 197 | { |
198 | int cpu_id, ret; | 198 | int cpu_id, ret; |
199 | struct cpuidle_device *device; | 199 | struct cpuidle_device *device; |