Commit 1ea55e80 authored by Geliang Tang's avatar Geliang Tang Committed by Juergen Gross

xen-platform: use builtin_pci_driver

Use builtin_pci_driver() helper to simplify the code.
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 0f06ac3b
......@@ -125,8 +125,4 @@ static struct pci_driver platform_driver = {
.id_table = platform_pci_tbl,
};
static int __init platform_pci_init(void)
{
return pci_register_driver(&platform_driver);
}
device_initcall(platform_pci_init);
builtin_pci_driver(platform_driver);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment