diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2024-04-16 09:13:54 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-16 19:59:55 +0900 |
commit | f8782f776db33066a9b1cd14d319142c4175561f (patch) | |
tree | 71e48dfded5898fade52397be116a78e1e9fdc79 /tools/perf/scripts/python/stat-cpi.py | |
parent | bce93a162505f0bc0499888ace2f66bd56fb94b3 (diff) |
ASoC: mediatek: common: Constify struct mtk_sof_priv
Apart from a dai_link_list variable, the mtk_sof_priv currently holds
data that never gets modified during runtime.
Constify the mtk_sof_priv structure and move the SOF dai_link_list as
sof_dai_link_list in struct mtk_soc_card_data, which is a structure
that already holds the card's machine specific, runtime modified data.
This allows to safely pass the mtk_sof_priv structure as platform data
for the commonized card probe mechanism.
Reviewed-by: Alexandre Mergnat <[email protected]>
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions