* [PATCH v2] clk: imx: clk-cpu: Include "clk.h" header file
@ 2015-04-29 21:34 Fabio Estevam
2015-05-07 13:00 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2015-04-29 21:34 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Include the "clk.h" header file to fix the following sparse warning:
drivers/clk/imx/clk-cpu.c:77:12: warning: symbol 'imx_clk_cpu' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Rebased since the clk-cpu moved to drivers/clk/imx
drivers/clk/imx/clk-cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-cpu.c b/drivers/clk/imx/clk-cpu.c
index aa1c345..9d46eac 100644
--- a/drivers/clk/imx/clk-cpu.c
+++ b/drivers/clk/imx/clk-cpu.c
@@ -12,6 +12,7 @@
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/slab.h>
+#include "clk.h"
struct clk_cpu {
struct clk_hw hw;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] clk: imx: clk-cpu: Include "clk.h" header file
2015-04-29 21:34 [PATCH v2] clk: imx: clk-cpu: Include "clk.h" header file Fabio Estevam
@ 2015-05-07 13:00 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2015-05-07 13:00 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 29, 2015 at 06:34:42PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Include the "clk.h" header file to fix the following sparse warning:
>
> drivers/clk/imx/clk-cpu.c:77:12: warning: symbol 'imx_clk_cpu' was not declared. Should it be static?
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-07 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 21:34 [PATCH v2] clk: imx: clk-cpu: Include "clk.h" header file Fabio Estevam
2015-05-07 13:00 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).