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/tegra114.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/tegra114.c')
-rw-r--r-- | drivers/memory/tegra/tegra114.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra114.c b/drivers/memory/tegra/tegra114.c index 1f2054d34bf5..41350570c815 100644 --- a/drivers/memory/tegra/tegra114.c +++ b/drivers/memory/tegra/tegra114.c @@ -1113,4 +1113,5 @@ const struct tegra_mc_soc tegra114_mc_soc = { .reset_ops = &tegra_mc_reset_ops_common, .resets = tegra114_mc_resets, .num_resets = ARRAY_SIZE(tegra114_mc_resets), + .ops = &tegra30_mc_ops, }; |