mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 06:31:46 +00:00
coresight: fix comment in of_coresight.c
Outports is a member of the struct pdata and should be a better choice. Signed-off-by: Kaixu Xia <xiakaixu@huawei.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c61c4b5dd2
commit
f7c55298f1
@ -93,7 +93,7 @@ static int of_coresight_alloc_memory(struct device *dev,
|
|||||||
if (!pdata->outports)
|
if (!pdata->outports)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
/* Children connected to this component via @outport */
|
/* Children connected to this component via @outports */
|
||||||
pdata->child_names = devm_kzalloc(dev, pdata->nr_outport *
|
pdata->child_names = devm_kzalloc(dev, pdata->nr_outport *
|
||||||
sizeof(*pdata->child_names),
|
sizeof(*pdata->child_names),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user