diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-05 14:08:55 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-04 15:54:29 -0600 |
commit | efd01a72e7ec99ed583151fbf16b176cd2158967 (patch) | |
tree | 439c0d93ac8fe1c935e1e1f89154d39376530cee /include/linux/aer.h | |
parent | 3b7f1016628e04f937bafd468ce6fa437b92e275 (diff) |
PCI/AER: Make <linux/aer.h> standalone includable
The header file references u16 and u32 types, but they are not defined in
the header nor does the header pull in the necessary includes for them.
This causes build breakage when the file is included without any of the
dependencies being satisfied from somewhere else.
Fix this by including linux/types.h (for u16 and u32).
[bhelgaas: removed pci_dev declaration (already added by 5ccb8225abf2)]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/aer.h')
-rw-r--r-- | include/linux/aer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h index c826d1c28f9c..4fef65e57023 100644 --- a/include/linux/aer.h +++ b/include/linux/aer.h @@ -7,6 +7,8 @@ #ifndef _AER_H_ #define _AER_H_ +#include <linux/types.h> + #define AER_NONFATAL 0 #define AER_FATAL 1 #define AER_CORRECTABLE 2 |