summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-07-01 21:53:01 +0300
committerSimon Glass <sjg@chromium.org>2015-07-22 02:39:36 +0300
commit9b510df703d282effba4f56ac567aa8011d56e6b (patch)
tree49890b147fb3a9b0182aed35e66f435cc979d6f9 /include/usb.h
parent6cda369509e0d3fa5f9e33c9d71589c4523799fa (diff)
downloadu-boot-9b510df703d282effba4f56ac567aa8011d56e6b.tar.xz
dm: usb: Rename usb_find_child to usb_find_emul_child
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 <hdegoede@redhat.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/usb.h')
0 files changed, 0 insertions, 0 deletions