PCI: Fix compile errors with PCI_ATS and !PCI_IOV
authorJoerg Roedel <joerg.roedel@amd.com>
Sun, 30 Oct 2011 15:35:08 +0000 (16:35 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 31 Oct 2011 17:23:57 +0000 (10:23 -0700)
commit466b3ddfbcf4f5ce402a77397630a0fa9ea9ce6b
treeb6cc96d109e5ba389e3825064714232e2bc314dd
parent0d52f54e2ef64c189dedc332e680b2eb4a34590a
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 <rdunlap@xenotime.net>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci-ats.h
include/linux/pci.h
This page took 0.028248 seconds and 5 git commands to generate.