提交 2f878d04 编写于 作者: T Thierry Reding

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: 0ac65fc9 ("clk: tegra: Implement Tegra210 EMC clock")
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 5105660e
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "clk.h"
#define CLK_SOURCE_EMC 0x19c #define CLK_SOURCE_EMC 0x19c
#define CLK_SOURCE_EMC_2X_CLK_SRC GENMASK(31, 29) #define CLK_SOURCE_EMC_2X_CLK_SRC GENMASK(31, 29)
#define CLK_SOURCE_EMC_MC_EMC_SAME_FREQ BIT(16) #define CLK_SOURCE_EMC_MC_EMC_SAME_FREQ BIT(16)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册