mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:00:52 +07:00
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: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
05f25abcf6
commit
25c8e03bdb
@ -1983,7 +1983,7 @@ static int __init pl022_init(void)
|
|||||||
return amba_driver_register(&pl022_driver);
|
return amba_driver_register(&pl022_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(pl022_init);
|
subsys_initcall(pl022_init);
|
||||||
|
|
||||||
static void __exit pl022_exit(void)
|
static void __exit pl022_exit(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user