mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
rtems-fdt: fix pointer reference in check_compatible
The handle was being passed to libfdt instead of the blob.
This commit is contained in:
@@ -885,7 +885,11 @@ int rtems_fdt_node_check_compatible(
|
||||
if ( !handle->blob ) {
|
||||
return -RTEMS_FDT_ERR_INVALID_HANDLE;
|
||||
}
|
||||
return fdt_node_check_compatible( handle, nodeoffset, compatible );
|
||||
return fdt_node_check_compatible(
|
||||
handle->blob->blob,
|
||||
nodeoffset,
|
||||
compatible
|
||||
);
|
||||
}
|
||||
|
||||
int rtems_fdt_node_offset_by_compatible(
|
||||
|
||||
Reference in New Issue
Block a user