diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2017-03-17 10:53:19 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-03-23 09:44:14 -0400 |
commit | 41334f54a43ab00cbb294e6a08d0f57068f43025 (patch) | |
tree | b0445c47fbc75a0caa747ed29ed94c2630132dd1 | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) |
PCI: Include pci.h for struct pci_ops definition
struct pci_ecam_ops embeds a struct pci_ops. Explicitly request the
definition for struct pci_ops, otherwise gcc might complain:
include/linux/pci-ecam.h:29:19: error: field 'pci_ops' has incomplete type
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | include/linux/pci-ecam.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index f0d2b9451270..b8f11d783a11 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #ifndef DRIVERS_PCI_ECAM_H | 16 | #ifndef DRIVERS_PCI_ECAM_H |
17 | #define DRIVERS_PCI_ECAM_H | 17 | #define DRIVERS_PCI_ECAM_H |
18 | 18 | ||
19 | #include <linux/pci.h> | ||
19 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
20 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
21 | 22 | ||