diff options
author | Florian Lohoff <flo@rfc822.org> | 2001-01-25 11:15:39 +0000 |
---|---|---|
committer | Florian Lohoff <flo@rfc822.org> | 2001-01-25 11:15:39 +0000 |
commit | 6312cf639b6021eb2fa59eba0009b338dad33035 (patch) | |
tree | e4f745b677d197ae0f7876978b0d80c64dda5a3f /drivers | |
parent | 02632755186f48ba29173532a280cc1739ec0343 (diff) |
Fix compilation of non-module sgiwd93.c
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sgiwd93.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index 39a23e09f..56a9ca47b 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c @@ -298,7 +298,9 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows) if (request_irq(SGI_WD93_0_IRQ, sgiwd93_intr, 0, "SGI WD93", (void *) sgiwd93_host)) { printk(KERN_WARNING "sgiwd93: Could not register IRQ %d (for host 0).\n", sgiwd93_intr); +#ifdef MODULE wd33c93_release(); +#endif free_page(buf); scsi_unregister(sgiwd93_host); return 0; @@ -331,7 +333,9 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows) if (request_irq(SGI_WD93_1_IRQ, sgiwd93_intr, 0, "SGI WD93", (void *) sgiwd93_host1)) { printk(KERN_WARNING "sgiwd93: Could not allocate irq %d (for host1).\n", sgiwd93_intr); +#ifdef MODULE wd33c93_release(); +#endif free_page(buf); scsi_unregister(sgiwd93_host1); /* Fall through since host0 registered OK */ |