mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01:00
lx_emul: prevent warning about unsused static func
This commit is contained in:
committed by
Norman Feske
parent
1139492c4f
commit
e2ddcee440
@@ -199,13 +199,13 @@ static int __init pci_subsys_init(void)
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_X86
|
||||
subsys_initcall(pci_subsys_init);
|
||||
#else
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user