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 <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200729113456.4072290-1-arnd@arndb.de Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent b3a9e3b commit 4aeccdf

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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)