Message ID | 20220320210905.6606-1-alexandre.belloni@bootlin.com (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Headers | show |
Series | clk: sunxi-ng: sun6i-rtc: include clk/sunxi-ng.h | expand |
Dne nedelja, 20. marec 2022 ob 22:09:04 CET je Alexandre Belloni napisal(a): > 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> Best regards, Jernej > --- > drivers/clk/sunxi-ng/ccu-sun6i-rtc.c | 2 ++ > 1 file changed, 2 insertions(+) > > 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"
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"