Commit ec42cdb6 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Jeff Garzik

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

Signed-off-by: default avatarAlexey 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment