Skip to content

Commit 4aeccdf

Browse files
arndbbebarino
authored andcommitted
clk: mmp: avoid missing prototype warning
The kernel test robot points out two harmless warnings in the mmp clk drivers: drivers/clk/mmp/clk-pxa168.c:68:13: warning: no previous prototype for 'pxa168_clk_init' [-Wmissing-prototypes] drivers/clk/mmp/clk-pxa910.c:66:13: warning: no previous prototype for 'pxa910_clk_init' [-Wmissing-prototypes] Fix these by including corresponding header file. Reported-by: kernel test robot <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b3a9e3b commit 4aeccdf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/clk/mmp/clk-pxa168.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111

1212
#include <linux/clk.h>
13+
#include <linux/clk/mmp.h>
1314
#include <linux/module.h>
1415
#include <linux/kernel.h>
1516
#include <linux/spinlock.h>

drivers/clk/mmp/clk-pxa910.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111

1212
#include <linux/clk.h>
13+
#include <linux/clk/mmp.h>
1314
#include <linux/module.h>
1415
#include <linux/kernel.h>
1516
#include <linux/spinlock.h>

0 commit comments

Comments
 (0)