diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_pci.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_pci.c b/drivers/scsi/aic7xxx/aic79xx_pci.c index a734d77e880e..90a04a37b4f7 100644 --- a/drivers/scsi/aic7xxx/aic79xx_pci.c +++ b/drivers/scsi/aic7xxx/aic79xx_pci.c | |||
@@ -51,7 +51,7 @@ | |||
51 | 51 | ||
52 | #include "aic79xx_pci.h" | 52 | #include "aic79xx_pci.h" |
53 | 53 | ||
54 | static __inline uint64_t | 54 | static inline uint64_t |
55 | ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) | 55 | ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) |
56 | { | 56 | { |
57 | uint64_t id; | 57 | uint64_t id; |
@@ -377,14 +377,12 @@ ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry) | |||
377 | error = ahd_init(ahd); | 377 | error = ahd_init(ahd); |
378 | if (error != 0) | 378 | if (error != 0) |
379 | return (error); | 379 | return (error); |
380 | ahd->init_level++; | ||
380 | 381 | ||
381 | /* | 382 | /* |
382 | * Allow interrupts now that we are completely setup. | 383 | * Allow interrupts now that we are completely setup. |
383 | */ | 384 | */ |
384 | error = ahd_pci_map_int(ahd); | 385 | return ahd_pci_map_int(ahd); |
385 | if (!error) | ||
386 | ahd->init_level++; | ||
387 | return error; | ||
388 | } | 386 | } |
389 | 387 | ||
390 | #ifdef CONFIG_PM | 388 | #ifdef CONFIG_PM |