aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-10-27 20:50:21 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 14:12:22 -0500
commitbfb0f330a6c833fd12c35b907434256b4211a1dc (patch)
treea647d84baa83027ea80a42fcf204b313b5f3ca29 /drivers/pci
parentc7b4fee3808a061ee0e704ba596ace56bf65a83d (diff)
PCI: fixup whitespace in quirks.c
Had a space before tab in do_fixups, prototype wasn't wrapped properly either. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/quirks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index ce0985615133..e915a17b36c3 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2074,11 +2074,12 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4375,
2074 2074
2075#endif /* CONFIG_PCI_MSI */ 2075#endif /* CONFIG_PCI_MSI */
2076 2076
2077static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_fixup *end) 2077static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f,
2078 struct pci_fixup *end)
2078{ 2079{
2079 while (f < end) { 2080 while (f < end) {
2080 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && 2081 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
2081 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { 2082 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
2082 dev_dbg(&dev->dev, "calling %pF\n", f->hook); 2083 dev_dbg(&dev->dev, "calling %pF\n", f->hook);
2083 f->hook(dev); 2084 f->hook(dev);
2084 } 2085 }