Skip to content

Commit

Permalink
ARM: EXYNOS: Remove incorrect __init annotation from cpuidle driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Rafael J. Wysocki committed Oct 30, 2013
1 parent ae7c4c8 commit f612a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static void __init exynos5_core_down_clk(void)
__raw_writel(tmp, EXYNOS5_PWR_CTRL2);
}

static int __init exynos_cpuidle_probe(struct platform_device *pdev)
static int exynos_cpuidle_probe(struct platform_device *pdev)
{
int cpu_id, ret;
struct cpuidle_device *device;
Expand Down

0 comments on commit f612a4f

Please sign in to comment.