pci: Fix typo in definition for PCI_DEV
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 16:26:54 +0000 (10:26 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 17:53:50 +0000 (13:53 -0400)
Fix a typo in the comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/pci.h

index aff56b24f9210b05439966921b4421ad390155c8..19c9244b9459bad06d9ce61d4bccb33487c28a69 100644 (file)
@@ -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
  * 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)
  */
 #define PCI_DEV(d)             (((d) >> 11) & 0x1f)
 #define PCI_FUNC(d)            (((d) >> 8) & 0x7)