On 3 July 2015 at 17:06, Simon Glass <s...@chromium.org> wrote:
> On 1 July 2015 at 12:53, Hans de Goede <hdego...@redhat.com> wrote:
>> Now that we unbind usb devices from usb_stop() usb_find_child() is
>> only necessary to deal with emulated usb devices.
>>
>> Rename it to make this clear and add a #ifdef to make it a nop in
>> other cases.
>>
>> Note the #ifdef turns usb_find_emul_child() into a nop, rather then not
>> building it and adding another #ifdef to the caller, this is done this way
>> because adding a #ifdef to the caller is somewhat hairy.
>>
>> Signed-off-by: Hans de Goede <hdego...@redhat.com>
>> ---
>>  drivers/usb/host/usb-uclass.c | 19 +++++++++----------
>>  1 file changed, 9 insertions(+), 10 deletions(-)
>
> Acked-by: Simon Glass <s...@chromium.org>

Applied to u-boot-dm/next, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to