]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: ofnode: add ofnode_device_is_compatible() helper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 19 Apr 2018 03:14:02 +0000 (12:14 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 19:49:51 +0000 (15:49 -0400)
commit5ccc2c21307e186722ca9966bad0e03189c237c5
treee2205e7553721bb43b3962b6e376293583fa0bc9
parent8c1de5e08b845eb71c9a247d16bc81ebdab0598d
dm: ofnode: add ofnode_device_is_compatible() helper

device_is_compatible() takes udevice, but there is no such a helper
that takes ofnode.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/ofnode.c
include/dm/ofnode.h