aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaixu Xia <xiakaixu@huawei.com>2015-01-26 09:22:17 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2015-05-07 08:55:00 -0600
commit475915568a059a6d1bcdd2ecd35a68bf491e98e0 (patch)
tree0a92ac3d8019b313308b18f01cb43d4a2a6845f3
parentf52f0e47c90b646f7af381c30fb5bd882c25dd63 (diff)
coresight: fix the replicator subtype value
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> (cherry picked from commit 410d841a599683408a77f42f110cd17298682520) Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--drivers/coresight/coresight-replicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/coresight/coresight-replicator.c b/drivers/coresight/coresight-replicator.c
index a2dfcf903551..cdf05537d574 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;