Skip to content

Commit

Permalink
coresight: fix comment in of_coresight.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kaixu Xia authored and Greg Kroah-Hartman committed Jan 12, 2015
1 parent c61c4b5 commit f7c5529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/coresight/of_coresight.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static int of_coresight_alloc_memory(struct device *dev,
if (!pdata->outports)
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 *
sizeof(*pdata->child_names),
GFP_KERNEL);
Expand Down

0 comments on commit f7c5529

Please sign in to comment.