]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/AER: Make <linux/aer.h> standalone includable
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 12:08:55 +0000 (14:08 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2014 22:28:34 +0000 (16:28 -0600)
commite0d1b6b77ced59d852d38fcf9a8a0a1c40c84cee
tree439c0d93ac8fe1c935e1e1f89154d39376530cee
parent3b7f1016628e04f937bafd468ce6fa437b92e275
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>
include/linux/aer.h