]> git.sur5r.net Git - u-boot/commit
dm: core: Export uclass_find_device_by_of_offset()
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:57 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit1b30d61d786421a5d02725a9945552cc9c09914b
tree7966d4351125613caf50d2f5417c5882818cda1f
parent77eaa19e73f0c6b4c29982417676ab23cd72895a
dm: core: Export uclass_find_device_by_of_offset()

It is sometimes useful to be able to find a device before probing it,
perhaps to set up some platform data for it. Allow finding by of_offset
also.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c
include/dm/uclass-internal.h