]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add a post_bind method for parents
authorSimon Glass <sjg@chromium.org>
Sun, 25 Jan 2015 15:27:03 +0000 (08:27 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:55 +0000 (17:09 -0700)
commit0118ce79577f9b0881f99a6e4f8a79cd5014cb87
tree4261f26aa29d28709ab619036589c68ecc2f7d03
parentba8da9dc43ac8ae3351345df12dc7f9d1cd07ae0
dm: core: Add a post_bind method for parents

Allow parent drivers to be called when a new child is bound to them. This
allows a bus to set up information it needs for that child.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/core/device.c
include/dm/device.h
test/dm/bus.c