diff options
author | James Clark <james.clark@arm.com> | 2023-04-25 15:35:31 +0100 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-06-05 15:46:46 +0100 |
commit | 81d0ea763d8a1089749a9b671a730cef6cc5c5d7 (patch) | |
tree | b858d6b0ece3a64353357200bec390f9f3d3a845 /include/linux | |
parent | 704faaf4e33ca0bd9caa1e06c379c32a13d8c3f2 (diff) | |
download | linux-stable-81d0ea763d8a1089749a9b671a730cef6cc5c5d7.tar.gz linux-stable-81d0ea763d8a1089749a9b671a730cef6cc5c5d7.tar.bz2 linux-stable-81d0ea763d8a1089749a9b671a730cef6cc5c5d7.zip |
coresight: Rename nr_outports to nr_outconns
Rename to avoid confusion between port number and the index in the
connection array. The port number is already stored in the connection,
and in a later commit the connection array will be appended to, so
the length of it will no longer reflect the number of ports.
No functional changes.
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230425143542.2305069-5-james.clark@arm.com
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/coresight.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index bf621d064ef8..daf392fcb67a 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -102,13 +102,13 @@ union coresight_dev_subtype { * struct coresight_platform_data - data harvested from the firmware * specification. * - * @nr_inport: Number of elements for the input connections. - * @nr_outport: Number of elements for the output connections. - * @out_conns: Sparse array of nr_outport connections from this component. + * @nr_inconns: Number of elements for the input connections. + * @nr_outconns: Number of elements for the output connections. + * @out_conns: Sparse array of nr_outconns connections from this component. */ struct coresight_platform_data { - int nr_inport; - int nr_outport; + int nr_inconns; + int nr_outconns; struct coresight_connection *out_conns; }; |