]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Use a separate 'dev' variable for the PCI device
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:27 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:37 +0000 (06:26 -0700)
commit32ec5b344b651af15eb42add80c7480154fcd4e3
tree0db80b6e33f467522a55e27621031b5a1b369cd5
parent72ef5b608cae42c7699c3488dd7465bd8f573acc
pci: Use a separate 'dev' variable for the PCI device

In the 'pci' command, add a separate variable to hold the PCI device. When
this code is converted to driver model, this variable will be used to hold a
struct udevice instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/cmd_pci.c