diff options
author | Alex Elder <elder@linaro.org> | 2021-01-15 06:50:48 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-18 11:51:05 -0800 |
commit | e938d7ef92c38f43bbb6de03e8399f6f821d217b (patch) | |
tree | 4eaba7f82f3573a6b281631767734559a63a6b58 /drivers/net/ipa/ipa_data.h | |
parent | db6cd5148724b07617cf43eb2cb916a853d52bc3 (diff) | |
download | linux-e938d7ef92c38f43bbb6de03e8399f6f821d217b.tar.bz2 |
net: ipa: add interconnect name to configuration data
Add the name to the configuration data for each interconnect. Use
this information rather than a constant string during initialization.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_data.h')
-rw-r--r-- | drivers/net/ipa/ipa_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data.h b/drivers/net/ipa/ipa_data.h index 96a9771a6cc0..d8ea6266dc6a 100644 --- a/drivers/net/ipa/ipa_data.h +++ b/drivers/net/ipa/ipa_data.h @@ -268,10 +268,12 @@ enum ipa_interconnect_id { /** * struct ipa_interconnect_data - description of IPA interconnect bandwidths + * @name: Interconnect name (matches interconnect-name in DT) * @peak_bandwidth: Peak interconnect bandwidth (in 1000 byte/sec units) * @average_bandwidth: Average interconnect bandwidth (in 1000 byte/sec units) */ struct ipa_interconnect_data { + const char *name; u32 peak_bandwidth; u32 average_bandwidth; }; |