diff mbox series

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

Message ID 20200510102651.v6.2.I5506fd35d4a5472148c0117bf89558b0ed9bf783@changeid
State Accepted
Commit 5f20c283f9c232b226758f23b55c761790457b34
Headers show
Series [v6,1/2] usb: Update struct usb_device to indicate speed enum | expand

Commit Message

Simon Glass May 10, 2020, 4:26 p.m. UTC
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(-)

Comments

Tom Rini May 15, 2020, 8:54 p.m. UTC | #1
On Sun, May 10, 2020 at 10:26:54AM -0600, Simon Glass wrote:

> Fix a typo in the comment.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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)