aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-08-01 16:44:22 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-08-02 15:22:07 +1000
commit9142bb3b3de26d6b77b1eee24e36414a9b95f9cb (patch)
treef708e296fea0e4d426a899824e824caa62a45e0c /include
parent2554cac82da530acfcb1a575c571e760de92dde4 (diff)
downloadskiboot-9142bb3b3de26d6b77b1eee24e36414a9b95f9cb.zip
skiboot-9142bb3b3de26d6b77b1eee24e36414a9b95f9cb.tar.gz
skiboot-9142bb3b3de26d6b77b1eee24e36414a9b95f9cb.tar.bz2
core/pci-quirk: Re-order struct members
Having the function first throws out the alignment on the VDID since the functions names are probably different lengths. Swap them ordering of the struct members so the VDID comes first to keep things tidy. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/pci-quirk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pci-quirk.h b/include/pci-quirk.h
index 784970c..0ad5555 100644
--- a/include/pci-quirk.h
+++ b/include/pci-quirk.h
@@ -9,9 +9,9 @@
#define PCI_ANY_ID 0xFFFF
struct pci_quirk {
- void (*fixup)(struct phb *, struct pci_device *);
uint16_t vendor_id;
uint16_t device_id;
+ void (*fixup)(struct phb *, struct pci_device *);
};
void pci_handle_quirk(struct phb *phb, struct pci_device *pd);