clk: tegra: Fix missing prototype for tegra210_clk_register_emc()
authorThierry Reding <treding@nvidia.com>
Mon, 22 Jun 2020 06:08:26 +0000 (08:08 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 21 Sep 2020 12:09:10 +0000 (14:09 +0200)
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>
drivers/clk/tegra/clk-tegra210-emc.c

index 352a2c3..51fd0ec 100644 (file)
@@ -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)