Skip to content
Snippets Groups Projects
Commit 5f20c283 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

pci: Fix typo in definition for PCI_DEV


Fix a typo in the comment.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 25a83817
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment