mirror of https://gitee.com/openkylin/linux.git
Merge branch 'pci/host-spear' into next
* pci/host-spear: PCI: spear: Use builtin_platform_driver() to simplify the code
This commit is contained in:
commit
f77b3244c1
|
@ -296,8 +296,4 @@ static struct platform_driver spear13xx_pcie_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
static int __init spear13xx_pcie_init(void)
|
||||
{
|
||||
return platform_driver_register(&spear13xx_pcie_driver);
|
||||
}
|
||||
device_initcall(spear13xx_pcie_init);
|
||||
builtin_platform_driver(spear13xx_pcie_driver);
|
||||
|
|
Loading…
Reference in New Issue