mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 16:40:44 +09:00
dm: core: add missing dev_count_phandle_with_args()
Add missing dev_count_phandle_with_args() to avoid compilation issue. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
32ac8b0bba
commit
ea8cd652a7
@ -103,6 +103,13 @@ int dev_read_phandle_with_args(struct udevice *dev, const char *list_name,
|
|||||||
out_args);
|
out_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int dev_count_phandle_with_args(struct udevice *dev, const char *list_name,
|
||||||
|
const char *cells_name)
|
||||||
|
{
|
||||||
|
return ofnode_count_phandle_with_args(dev_ofnode(dev), list_name,
|
||||||
|
cells_name);
|
||||||
|
}
|
||||||
|
|
||||||
int dev_read_addr_cells(struct udevice *dev)
|
int dev_read_addr_cells(struct udevice *dev)
|
||||||
{
|
{
|
||||||
return ofnode_read_addr_cells(dev_ofnode(dev));
|
return ofnode_read_addr_cells(dev_ofnode(dev));
|
||||||
|
Loading…
Reference in New Issue
Block a user