[PATCH v6 2/2] pci: Fix typo in definition for PCI_DEV

Simon Glass sjg at chromium.org
Sun May 10 18:26:54 CEST 2020


Fix a typo in the comment.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v6: None

 include/pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.26.2.645.ge9eca65c58-goog



More information about the U-Boot mailing list