lkml.org 
[lkml]   [2015]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] coresight: fix the replicator subtype value
From
On 12 January 2015 at 01:32, Kaixu Xia <xiakaixu@huawei.com> wrote:
> According to the classification, the type of replicator
> is link, so the subtype should also be link_subtype.
>
> Signed-off-by: Kaixu Xia <xiakaixu@huawei.com>
> ---
> drivers/coresight/coresight-replicator.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/coresight/coresight-replicator.c b/drivers/coresight/coresight-replicator.c
> index a2dfcf9..cdf0553 100644
> --- a/drivers/coresight/coresight-replicator.c
> +++ b/drivers/coresight/coresight-replicator.c
> @@ -87,7 +87,7 @@ static int replicator_probe(struct platform_device *pdev)
> return -ENOMEM;
>
> desc->type = CORESIGHT_DEV_TYPE_LINK;
> - desc->subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_LINK_SPLIT;
> + desc->subtype.link_subtype = CORESIGHT_DEV_SUBTYPE_LINK_SPLIT;
> desc->ops = &replicator_cs_ops;
> desc->pdata = pdev->dev.platform_data;
> desc->dev = &pdev->dev;

Applied - thanks.

> --
> 1.8.5.5
>


\
 
 \ /
  Last update: 2015-01-13 22:41    [W:0.035 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site