[PATCH] xircom_cb: wire up errors from pci_register_driver()
Signed-off-by: Alexey 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: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
3d8f3f3c36
commit
ec42cdb624
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user