From: Marc Gonzalez Date: Fri, 17 Mar 2017 14:53:19 +0000 (+0100) Subject: PCI: Include pci.h for struct pci_ops definition X-Git-Tag: v4.12-rc1~65^2~6^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=41334f54a43ab00cbb294e6a08d0f57068f43025;p=karo-tx-linux.git 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 Signed-off-by: Bjorn Helgaas --- 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 @@ #ifndef DRIVERS_PCI_ECAM_H #define DRIVERS_PCI_ECAM_H +#include #include #include