[U-Boot] [PATCH 11/14] pci: Use a separate 'dev' variable for the PCI device

2015-11-12 Thread Simon Glass
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 --- common/cmd_pci.c | 18 +- 1 file changed, 9

Re: [U-Boot] [PATCH 11/14] pci: Use a separate 'dev' variable for the PCI device

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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