summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 10:26:54 -0600
committerTom Rini <trini@konsulko.com>2020-05-15 13:53:50 -0400
commit5f20c283f9c232b226758f23b55c761790457b34 (patch)
treea589de439382fe1b298590df09c333bb83c8bc88 /include/pci.h
parent25a838175cb571a27337385d20bd164f0e3603cf (diff)
pci: Fix typo in definition for PCI_DEV
Fix a typo in the comment. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h
index aff56b24f9..19c9244b94 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -531,7 +531,7 @@ typedef int pci_dev_t;
* This is relevant for the following macros:
* PCI_DEV, PCI_FUNC, PCI_DEVFN
* The U-Boot macro PCI_DEV is equivalent to the Linux PCI_SLOT version with
- * the remark from above (input d in bits 15-8 instead of 7-0.
+ * the remark from above (input is in bits 15-8 instead of 7-0.
*/
#define PCI_DEV(d) (((d) >> 11) & 0x1f)
#define PCI_FUNC(d) (((d) >> 8) & 0x7)