提交 1ea55e80 编写于 作者: G Geliang Tang 提交者: Juergen Gross

xen-platform: use builtin_pci_driver

Use builtin_pci_driver() helper to simplify the code.
Signed-off-by: NGeliang Tang <geliangtang@gmail.com>
Reviewed-by: NJuergen Gross <jgross@suse.com>
Signed-off-by: NJuergen Gross <jgross@suse.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册