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

Commit 25c8e03b authored by Linus Walleij's avatar Linus Walleij Committed by Grant Likely
Browse files

spi/pl022: move probe call to subsys_initcall()



The PL022 SPI bus is sometimes used for early stuff like
regulators that need to be present at module_init() time, so
we move this to a subsys_initcall().

Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 05f25abc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1983,7 +1983,7 @@ static int __init pl022_init(void)
	return amba_driver_register(&pl022_driver);
}

module_init(pl022_init);
subsys_initcall(pl022_init);

static void __exit pl022_exit(void)
{