提交 ec42cdb6 编写于 作者: A Alexey Dobriyan 提交者: Jeff Garzik

[PATCH] xircom_cb: wire up errors from pci_register_driver()

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Valerie Henson <val_henson@linux.intel.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 3d8f3f3c
......@@ -1264,8 +1264,7 @@ static void investigate_write_descriptor(struct net_device *dev, struct xircom_p
static int __init xircom_init(void)
{
pci_register_driver(&xircom_ops);
return 0;
return pci_register_driver(&xircom_ops);
}
static void __exit xircom_exit(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册