mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
coresight: Store pointers to connections rather than an array of them
This will allow the same connection object to be referenced via the input connection list in a later commit rather than duplicating them. 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-8-james.clark@arm.com
This commit is contained in:
committed by
Suzuki K Poulose
parent
3d4ff657e4
commit
4e8fe7e5c3
@@ -104,14 +104,15 @@ union coresight_dev_subtype {
|
||||
*
|
||||
* @nr_inconns: Number of elements for the input connections.
|
||||
* @nr_outconns: Number of elements for the output connections.
|
||||
* @out_conns: Array of nr_outconns connections from this component.
|
||||
* @out_conns: Array of nr_outconns pointers to connections from this
|
||||
* component.
|
||||
*/
|
||||
struct coresight_platform_data {
|
||||
int high_inport;
|
||||
int high_outport;
|
||||
int nr_inconns;
|
||||
int nr_outconns;
|
||||
struct coresight_connection *out_conns;
|
||||
struct coresight_connection **out_conns;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user