summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/soc/tegra/mc.h2
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