]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Include pci.h for struct pci_ops definition
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Fri, 17 Mar 2017 14:53:19 +0000 (15:53 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Mar 2017 13:44:14 +0000 (08:44 -0500)
commit41334f54a43ab00cbb294e6a08d0f57068f43025
treeb0445c47fbc75a0caa747ed29ed94c2630132dd1
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
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>
include/linux/pci-ecam.h