summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-05-06 14:32:36 +0200
committerThierry Reding <treding@nvidia.com>2020-06-22 13:54:58 +0200
commit1b93fadf2a7e40d221513247019925425384d8d1 (patch)
tree41a129f74453f054390ba0869bf1a47bffcc0438
parentmemory: tegra: Fix an error handling path in tegra186_emc_probe() (diff)
downloadlinux-1b93fadf2a7e40d221513247019925425384d8d1.tar.xz
linux-1b93fadf2a7e40d221513247019925425384d8d1.zip
memory: tegra: Drop <linux/clk-provider.h>
The Tegra EMC scaling support code is not a clock provider, but merely a clock consumer, and thus does not need to include <linux/clk-provider.h>. Fixes: 0bf368c5b2cf ("memory: tegra: Add EMC scaling support code for Tegra210") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/memory/tegra/tegra210-emc-core.c1
-rw-r--r--drivers/memory/tegra/tegra210-emc.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memory/tegra/tegra210-emc-core.c b/drivers/memory/tegra/tegra210-emc-core.c
index d64ffe27c245..cdd663ba4733 100644
--- a/drivers/memory/tegra/tegra210-emc-core.c
+++ b/drivers/memory/tegra/tegra210-emc-core.c
@@ -6,7 +6,6 @@
#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/clk/tegra.h>
-#include <linux/clk-provider.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/kernel.h>
diff --git a/drivers/memory/tegra/tegra210-emc.h b/drivers/memory/tegra/tegra210-emc.h
index 63b3d0a790f1..8988bcf15290 100644
--- a/drivers/memory/tegra/tegra210-emc.h
+++ b/drivers/memory/tegra/tegra210-emc.h
@@ -7,7 +7,6 @@
#define TEGRA210_EMC_H
#include <linux/clk.h>
-#include <linux/clk-provider.h>
#include <linux/clk/tegra.h>
#include <linux/io.h>
#include <linux/platform_device.h>