diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-11-11 02:14:31 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-26 18:50:36 +0100 |
commit | 3a0b6b5abfddd0baf0a053aec7e8be59cf33b659 (patch) | |
tree | 19ea8b2f5526487f27ee447f516f2d09e1689678 /include/soc | |
parent | memory: tegra20: Support interconnect framework (diff) | |
download | linux-3a0b6b5abfddd0baf0a053aec7e8be59cf33b659.tar.xz linux-3a0b6b5abfddd0baf0a053aec7e8be59cf33b659.zip |
memory: tegra: Correct stub of devm_tegra_memory_controller_get()
Correct typo in a stub of devm_tegra_memory_controller_get() to fix a
non-ARM kernel compile-testing.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201111011456.7875-2-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/tegra/mc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index 43876216de34..d731407e23bb 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -207,7 +207,7 @@ struct tegra_mc *devm_tegra_memory_controller_get(struct device *dev); static inline struct tegra_mc * devm_tegra_memory_controller_get(struct device *dev) { - ERR_PTR(-ENODEV); + return ERR_PTR(-ENODEV); } #endif |