Commit d0904fb6 authored by Junhao He's avatar Junhao He Committed by Zheng Zengkai
Browse files

coresight: Return the pointer of @pdata when not "fwnode"

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5YCYK



--------------------------------------------------------------------------

TRBE device can use the id_tabel to match driver. So if the CoreSight
component does not use the device tree or ACPI to report devices
(@fwnode is NULL), we need to return the pointer to the platform
data @pdata.

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
Reviewed-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 82327165
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment