Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e88a63a authored by Patrick Daly's avatar Patrick Daly
Browse files

clk: qcom: Allow clock-a7 to probe defer



platform_driver_probe does not allow probe deferral. Use
platform_driver_register instead.

Change-Id: I6490c27c9b82273fa45953666f137ecb6eb0f9ee
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -279,6 +279,7 @@ static struct of_device_id clock_a7_match_table[] = {
};

static struct platform_driver clock_a7_driver = {
	.probe = clock_a7_probe,
	.driver = {
		.name = "clock-a7",
		.of_match_table = clock_a7_match_table,
@@ -288,6 +289,6 @@ static struct platform_driver clock_a7_driver = {

static int __init clock_a7_init(void)
{
	return platform_driver_probe(&clock_a7_driver, clock_a7_probe);
	return platform_driver_register(&clock_a7_driver);
}
arch_initcall(clock_a7_init);