]> git.baikalelectronics.ru Git - uboot.git/commit
core: Add dev_{disable,enable}_by_path
authorMario Six <mario.six@gdsys.cc>
Tue, 26 Jun 2018 06:46:50 +0000 (08:46 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commit967bc4c2915b6984257beb23c12be2f4e4a2d55f
treeaf415a4f31c37994f94531dcc4923270ef894d68
parent2a1474ee2910076b39cd46afe576b03dceb7632a
core: Add dev_{disable,enable}_by_path

We cannot use device structures to disable devices, since getting
them with the API functions would bind and activate the device, which
would fail if the underlying device does not exist.
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h