diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-02-15 21:40:31 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-02-24 14:37:26 -0800 |
commit | 2069ecfbe14ebd71a6f98e8a00724e9adf4fe4ee (patch) | |
tree | 5a0328d6e545a6488e85face05b0a4d78676bedf /drivers/pci/probe.c | |
parent | 8474ecd9231434d71a39cd1ba118629e1b036137 (diff) | |
download | op-kernel-dev-2069ecfbe14ebd71a6f98e8a00724e9adf4fe4ee.zip op-kernel-dev-2069ecfbe14ebd71a6f98e8a00724e9adf4fe4ee.tar.gz |
PCI: Move "pci reassigndev resource alignment" out of quirks.c
This isn't really a quirk; calling it directly from pci_add_device makes
more sense.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 36c2203..944e05a 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1325,6 +1325,9 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) /* Fix up broken headers */ pci_fixup_device(pci_fixup_header, dev); + /* moved out from quirk header fixup code */ + pci_reassigndev_resource_alignment(dev); + /* Clear the state_saved flag. */ dev->state_saved = false; |