]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: mt7621-pci: use 'module_init' instead of 'arch_initcall'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 21 Jun 2019 06:15:17 +0000 (08:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2019 14:50:10 +0000 (16:50 +0200)
commit2e26e96672c2c06e87312d5c5baad7fea29a35bc
treed0242631b62505aeecd8a1fcaf09f280732dff16
parent774dd15f81f7a812f0347215f32dabfe0fb69aa1
staging: mt7621-pci: use 'module_init' instead of 'arch_initcall'

This driver has dependencies on mt7621-gpio and mt7621-pci-phy which
are init in later stages. Hence, when this driver is probed it is always
returning 'EPROBE_DEFER' and being initialized afterwards. Use function
'module_init' to just initialize later.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c