summaryrefslogtreecommitdiff
path: root/src/include/device/pci_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/pci_def.h')
-rw-r--r--src/include/device/pci_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index ef3427b4e7..e11470c695 100644
--- a/src/include/device/pci_def.h
+++ b/src/include/device/pci_def.h
@@ -479,7 +479,7 @@
* 7:3 = slot
* 2:0 = function
*/
-#define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
+#define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f)
#define PCI_FUNC(devfn) ((devfn) & 0x07)