]> git.dujemihanovic.xyz Git - u-boot.git/commit
core: Make device_is_compatible live-tree compatible
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:07:20 +0000 (11:07 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Jan 2018 17:01:02 +0000 (10:01 -0700)
commit29d11b8838bb2aa324b8873159cbd7088870a75b
tree983f741df02aed97f33a814124dbc796d5eedbd4
parent147c6074482ed57fe43348ce15fc3dbc3e2c9db7
core: Make device_is_compatible live-tree compatible

Judging from its name and parameters, device_is_compatible looks like it
is compatible with a live device tree, but it actually isn't.

Make it compatible with a live device tree.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/core/device.c