diff options
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r-- | drivers/char/synclink_gt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 07f34d43dc7f..83b5d37d6c59 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -3522,6 +3522,7 @@ static int __init slgt_init(void) | |||
3522 | 3522 | ||
3523 | if (!slgt_device_list) { | 3523 | if (!slgt_device_list) { |
3524 | printk("%s no devices found\n",driver_name); | 3524 | printk("%s no devices found\n",driver_name); |
3525 | pci_unregister_driver(&pci_driver); | ||
3525 | return -ENODEV; | 3526 | return -ENODEV; |
3526 | } | 3527 | } |
3527 | 3528 | ||