aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-catu.h
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <ykaukab@suse.de>2020-09-28 10:35:10 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-28 19:47:42 +0200
commit66af416d9dccaba7eb4efd290b9afcac71d3eeee (patch)
tree29aead2abde32ce835ecfc80ff5b2aef47e06b51 /drivers/hwtracing/coresight/coresight-catu.h
parentcoresight: cti: Allow cti to be built as a module (diff)
downloadlinux-dev-66af416d9dccaba7eb4efd290b9afcac71d3eeee.tar.xz
linux-dev-66af416d9dccaba7eb4efd290b9afcac71d3eeee.zip
coresight: tmc-etr: Add function to register catu ops
Make etr_catu_buf_ops static. Instead of directly accessing it in etr_buf_ops[], add a function to let catu driver register the ops at runtime. Break circular dependency between tmc-etr and catu drivers. Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200928163513.70169-23-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-catu.h')
-rw-r--r--drivers/hwtracing/coresight/coresight-catu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwtracing/coresight/coresight-catu.h b/drivers/hwtracing/coresight/coresight-catu.h
index 80ceee3c739c..6160c2d75a56 100644
--- a/drivers/hwtracing/coresight/coresight-catu.h
+++ b/drivers/hwtracing/coresight/coresight-catu.h
@@ -108,6 +108,4 @@ static inline bool coresight_is_catu_device(struct coresight_device *csdev)
return true;
}
-extern const struct etr_buf_operations etr_catu_buf_ops;
-
#endif