diff options
author | Thierry Reding <treding@nvidia.com> | 2021-06-02 19:32:56 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-06-03 22:49:41 +0300 |
commit | ddeceab0a959d199de776eaf5da977574b7c8f16 (patch) | |
tree | c270b8395671b0bad790a355ba1254958ad2cc4b /drivers/memory/tegra/tegra210.c | |
parent | c64738e949940bea2bb426b104b4de0aa42a8f48 (diff) | |
download | linux-ddeceab0a959d199de776eaf5da977574b7c8f16.tar.xz |
memory: tegra: Extract setup code into callback
Separate the setup code for Tegra30 and later into a ->setup() callback
and set it for all applicable chips.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210602163302.120041-7-thierry.reding@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'drivers/memory/tegra/tegra210.c')
-rw-r--r-- | drivers/memory/tegra/tegra210.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/tegra/tegra210.c index 08f3a08cd743..8ab6498dbe7d 100644 --- a/drivers/memory/tegra/tegra210.c +++ b/drivers/memory/tegra/tegra210.c @@ -1286,4 +1286,5 @@ const struct tegra_mc_soc tegra210_mc_soc = { .reset_ops = &tegra_mc_reset_ops_common, .resets = tegra210_mc_resets, .num_resets = ARRAY_SIZE(tegra210_mc_resets), + .ops = &tegra30_mc_ops, }; |