[PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>

Ben Dooks ben.dooks at codethink.co.uk
Wed Jun 8 09:54:57 PDT 2016


The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
so add that include to avoid the following warning:

arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
Cc: Stephen Warren <swarren at wwwdotorg.org>
Cc: Alexandre Courbot <gnurou at gmail.com>
Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-tegra at vger.kernel.org
---
 arch/arm/mach-tegra/cpuidle.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c
index 3165631..b8e4568 100644
--- a/arch/arm/mach-tegra/cpuidle.c
+++ b/arch/arm/mach-tegra/cpuidle.c
@@ -25,6 +25,7 @@
 #include <linux/module.h>
 
 #include <soc/tegra/fuse.h>
+#include <soc/tegra/cpuidle.h>
 
 #include "cpuidle.h"
 
-- 
2.8.1




More information about the linux-arm-kernel mailing list