]> git.karo-electronics.de Git - linux-beck.git/commitdiff
coresight: fix the replicator subtype value
authorKaixu Xia <xiakaixu@huawei.com>
Mon, 26 Jan 2015 16:22:17 +0000 (09:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2015 23:48:51 +0000 (15:48 -0800)
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>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/coresight-replicator.c

index a2dfcf903551b9dc936aae81be01213e342224ed..cdf05537d57482ebdc83e428ebc41854650f3e39 100644 (file)
@@ -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;