diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-21 00:09:04 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-25 13:36:29 +0300 |
commit | 1521ca5b9f93e3d8c9782ac10a42bc5c3a3ba370 (patch) | |
tree | 3dfba85110f4dbc275626c79afa5aad56f6aff36 /drivers/clk | |
parent | 1a31d63632553a54af6c0c3c5b5930e931a94ee4 (diff) | |
download | linux-1521ca5b9f93e3d8c9782ac10a42bc5c3a3ba370.tar.xz |
clk: sunxi-ng: sun6i-rtc: include clk/sunxi-ng.h
This solves:
>> drivers/clk/sunxi-ng/ccu-sun6i-rtc.c:334:5: warning: no previous prototype for 'sun6i_rtc_ccu_probe' [-Wmissing-prototypes]
334 | int sun6i_rtc_ccu_probe(struct device *dev, void __iomem *reg)
| ^~~~~~~~~~~~~~~~~~~
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220320210905.6606-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun6i-rtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c index 712fda22efd5..8a10bade7e0d 100644 --- a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c +++ b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c @@ -9,6 +9,8 @@ #include <linux/module.h> #include <linux/of_device.h> +#include <linux/clk/sunxi-ng.h> + #include "ccu_common.h" #include "ccu_div.h" |