From: Joerg Roedel Date: Sun, 30 Oct 2011 15:35:08 +0000 (+0100) Subject: PCI: Fix compile errors with PCI_ATS and !PCI_IOV X-Git-Tag: v3.2-rc3~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=466b3ddfbcf4f5ce402a77397630a0fa9ea9ce6b;p=pandora-kernel.git PCI: Fix compile errors with PCI_ATS and !PCI_IOV The ats and sroiv members of 'struct pci_dev' are required for the ATS code already, even without IOV support compiled in. So depend on ATS here. This is fine with PCI_IOV too because it selects PCI_ATS. Also the prototypes for ATS need to be available for PCI_ATS. Reported-by: Randy Dunlap Signed-off-by: Joerg Roedel Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed