diff options
Diffstat (limited to 'nicnatsemi.c')
-rw-r--r-- | nicnatsemi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nicnatsemi.c b/nicnatsemi.c index 46468671..7cdd2fe9 100644 --- a/nicnatsemi.c +++ b/nicnatsemi.c @@ -54,13 +54,13 @@ static const struct par_programmer par_programmer_nicnatsemi = { static int nicnatsemi_shutdown(void *data) { pci_cleanup(pacc); - release_io_perms(); return 0; } int nicnatsemi_init(void) { - get_io_perms(); + if (rget_io_perms()) + return 1; io_base_addr = pcidev_init(PCI_BASE_ADDRESS_0, nics_natsemi); |