Skip to content

Commit c857e03

Browse files
GuEe-GUIRbb666
authored andcommitted
[dm][core] fixup the rt_dm_dev_prop_read_u8_array_index OFW check
Signed-off-by: GuEe-GUI <[email protected]>
1 parent 7357abd commit c857e03

File tree

1 file changed

+2
-2
lines changed
  • components/drivers/core

1 file changed

+2
-2
lines changed

components/drivers/core/dm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,11 @@ int rt_dm_dev_prop_read_u8_array_index(rt_device_t dev, const char *propname,
485485
{
486486
RT_ASSERT(dev != RT_NULL);
487487

488-
#ifdef RT_UISNG_OFW
488+
#ifdef RT_USING_OFW
489489
if (dev->ofw_node)
490490
{
491491
return ofw_api_call(prop_read_u8_array_index, dev->ofw_node, propname,
492-
index, nr, out_value);
492+
index, nr, out_values);
493493
}
494494
#endif
495495

0 commit comments

Comments
 (0)