[U-Boot] [PATCH v3 10/13] pci: Use a separate 'dev' variable for the PCI device

Simon Glass sjg at chromium.org
Sat Nov 28 17:55:41 CET 2015


On 26 November 2015 at 23:38, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Fri, Nov 27, 2015 at 10:51 AM, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
>> ---
>>
>> Changes in v3:
>> - Fix 'switch (cmd)' merge error
>>
>> Changes in v2:
>> - Refactor the patch based on dropping the earlier refactor patch
>>
>>  common/cmd_pci.c | 13 ++++++++-----
>>  1 file changed, 8 insertions(+), 5 deletions(-)

[snip]

>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Thanks for the review.

Applied to u-boot-dm.


More information about the U-Boot mailing list