UPSTREAM: core: uclass: fix to u32 for phandle of fdt
The function has a little fix during upstream review, do fix to sync with upstream. Change-Id: I9e1c43a660b2f83395d1639aa962988ca04494e5 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
parent
2a2a073c3c
commit
7862d7bff3
|
|
@ -460,7 +460,7 @@ int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
|
|||
}
|
||||
|
||||
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
int uclass_get_device_by_phandle_id(enum uclass_id id, int phandle_id,
|
||||
int uclass_get_device_by_phandle_id(enum uclass_id id, uint phandle_id,
|
||||
struct udevice **devp)
|
||||
{
|
||||
struct udevice *dev;
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
|
|||
* @return 0 if OK, -ENODEV if there is no device match the phandle, other
|
||||
* -ve on error
|
||||
*/
|
||||
int uclass_get_device_by_phandle_id(enum uclass_id id, int phandle_id,
|
||||
int uclass_get_device_by_phandle_id(enum uclass_id id, uint phandle_id,
|
||||
struct udevice **devp);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue