* [PATCH] ARM: imx: fix missing cpuidle.h include
@ 2016-06-08 17:29 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2016-06-08 17:29 UTC (permalink / raw)
To: linux-arm-kernel
Fix the missing declaration of imx5_cpuidle_init() by including
the cpuidle.h it is declared in. Fixes:
arch/arm/mach-imx/cpuidle-imx5.c:33:12: warning: symbol 'imx5_cpuidle_init' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/mach-imx/cpuidle-imx5.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/cpuidle-imx5.c b/arch/arm/mach-imx/cpuidle-imx5.c
index 3feca52..6fff6fa 100644
--- a/arch/arm/mach-imx/cpuidle-imx5.c
+++ b/arch/arm/mach-imx/cpuidle-imx5.c
@@ -10,6 +10,8 @@
#include <linux/module.h>
#include <asm/system_misc.h>
+#include "cpuidle.h"
+
static int imx5_cpuidle_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index)
{
--
2.8.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-08 17:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 17:29 [PATCH] ARM: imx: fix missing cpuidle.h include Ben Dooks
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).