]> git.baikalelectronics.ru Git - uboot.git/commit
uclass: Add dev_get_uclass_index() to get the uclass/index of a device
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 9 Aug 2018 14:17:42 +0000 (16:17 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 Aug 2018 14:21:37 +0000 (16:21 +0200)
commit5614c4781fabd97f3c1354d0f40eeb52fb809c28
tree11a06f4f6941bc79c1caf7e20885772c73a6fa86
parent43a10b66583d6bf5a5f2e62ef41b28f02dbdc445
uclass: Add dev_get_uclass_index() to get the uclass/index of a device

This function is the reciprocal of uclass_find_device().
It will be used to print the index information in dm tree dump.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/core/uclass.c
include/dm/uclass-internal.h