diff options
author | Thierry Reding <treding@nvidia.com> | 2020-06-22 08:08:26 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-09-21 14:09:10 +0200 |
commit | 2f878d04218c8b26f6d0ab26955ca6b03848a1ad (patch) | |
tree | 738fb6f0423d66fff0e8b782bc9ba4485e287a3c /drivers/clk | |
parent | 5105660ee80862b85f7769626d0f936c18ce1885 (diff) | |
download | linux-stable-2f878d04218c8b26f6d0ab26955ca6b03848a1ad.tar.gz linux-stable-2f878d04218c8b26f6d0ab26955ca6b03848a1ad.tar.bz2 linux-stable-2f878d04218c8b26f6d0ab26955ca6b03848a1ad.zip |
clk: tegra: Fix missing prototype for tegra210_clk_register_emc()
Include the Tegra driver's clk.h to pull in the prototype definition for
this function so that compilers don't warn about it being missing.
Fixes: 0ac65fc946d3 ("clk: tegra: Implement Tegra210 EMC clock")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/tegra/clk-tegra210-emc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/tegra/clk-tegra210-emc.c b/drivers/clk/tegra/clk-tegra210-emc.c index 352a2c3fc374..51fd0ec2a2d0 100644 --- a/drivers/clk/tegra/clk-tegra210-emc.c +++ b/drivers/clk/tegra/clk-tegra210-emc.c @@ -12,6 +12,8 @@ #include <linux/io.h> #include <linux/slab.h> +#include "clk.h" + #define CLK_SOURCE_EMC 0x19c #define CLK_SOURCE_EMC_2X_CLK_SRC GENMASK(31, 29) #define CLK_SOURCE_EMC_MC_EMC_SAME_FREQ BIT(16) |