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)
|
builtin_platform_driver(spear13xx_pcie_driver);
|
||||||
{
|
|
||||||
return platform_driver_register(&spear13xx_pcie_driver);
|
|
||||||
}
|
|
||||||
device_initcall(spear13xx_pcie_init);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user