[PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
From: Ben Dooks <hidden>
Date: 2016-06-10 15:02:16
Also in:
linux-tegra
On 10/06/16 15:33, Jon Hunter wrote:
On 10/06/16 15:22, Thierry Reding wrote:quoted
* PGP Signed by an unknown key On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:quoted
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 <redacted> --- Cc: Stephen Warren <redacted> Cc: Alexandre Courbot <redacted> Cc: Thierry Reding <redacted> 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(+)I've been carrying a set of patches to fix these, and a couple of other sparse warnings, in my tree locally, but never sent them out because they were so trivial. I probably should've to avoid the duplication of effort. Sorry about that.
Given it is likely that gcc warning flags will be updated it'd be good to get these issues sorted out. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius