summaryrefslogtreecommitdiff
path: root/src/include/device/pci_def.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 12:55:23 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:19:16 +0100
commitae3fd34e0074da005c3fba471060965c14f3ec76 (patch)
tree803fee9bd7778ea7e2f7dda4b5c76f30e3478293 /src/include/device/pci_def.h
parent708fc274b54dfd13fb83edae17cea9ead0a0f2be (diff)
downloadcoreboot-ae3fd34e0074da005c3fba471060965c14f3ec76.tar.xz
src/include: Add space after comma
Fix the following error detected by checkpatch.pl: ERROR: space required after that ',' (ctx:VxV) TEST=Build and run on Galileo Gen2 Change-Id: I297bfc3d03dc95b471d3bb4b13803e81963841b5 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18647 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
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)