diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-08-15 06:00:28 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 21:44:30 (GMT) |
commit | ec42cdb624059bb9d9d1accca5ed4345bf8f5fda (patch) | |
tree | 5b39ebb8cd878baf0cb3f1a1b1f94994ab00fac5 /drivers/net | |
parent | 3d8f3f3c3697a7603a802427c9226f5dfe6d67ad (diff) | |
download | linux-ec42cdb624059bb9d9d1accca5ed4345bf8f5fda.tar.xz |
[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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/tulip/xircom_cb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index f874e4f..cf43390 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c @@ -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) |