diff options
Diffstat (limited to 'drivers/pci/pcie/aer/aerdrv.h')
-rw-r--r-- | drivers/pci/pcie/aer/aerdrv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h index dadf492e9ce9..bbd7428ca2d0 100644 --- a/drivers/pci/pcie/aer/aerdrv.h +++ b/drivers/pci/pcie/aer/aerdrv.h | |||
@@ -57,8 +57,10 @@ struct header_log_regs { | |||
57 | unsigned int dw3; | 57 | unsigned int dw3; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | #define AER_MAX_MULTI_ERR_DEVICES 5 /* Not likely to have more */ | ||
60 | struct aer_err_info { | 61 | struct aer_err_info { |
61 | struct pci_dev *dev; | 62 | struct pci_dev *dev[AER_MAX_MULTI_ERR_DEVICES]; |
63 | int error_dev_num; | ||
62 | u16 id; | 64 | u16 id; |
63 | int severity; /* 0:NONFATAL | 1:FATAL | 2:COR */ | 65 | int severity; /* 0:NONFATAL | 1:FATAL | 2:COR */ |
64 | int flags; | 66 | int flags; |