mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 05:41:36 +00:00
lx_emul: use alternative initcall for pci on ARM
On platforms different than x86 the subsys initcall `pci_subsys_init` is not available. Therefore, we choose an alternative one here. Fix genodelabs/genode#4907
This commit is contained in:
parent
0aef0959d5
commit
1c790b2776
@ -199,4 +199,13 @@ static int __init pci_subsys_init(void)
|
||||
}
|
||||
|
||||
|
||||
static int __init pci_proc_init(void)
|
||||
{
|
||||
return pci_subsys_init();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_X86
|
||||
subsys_initcall(pci_subsys_init);
|
||||
#else
|
||||
device_initcall(pci_proc_init);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user