ARM: orion5x: include linux/cpu.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Apr 2013 15:10:04 +0000 (17:10 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 29 Apr 2013 14:52:05 +0000 (16:52 +0200)
The linux/cpu.h header is no longer implictly included in this
file, so we need to an #include statement to avoid this build
warning:

arch/arm/mach-orion5x/common.c:339:3: error: implicit declaration of function 'cpu_idle_poll_ctrl' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
arch/arm/mach-orion5x/common.c

index d068f1431c402965004105c3ddb1018ec3b6d8ec..e13d7732cfe96be25eb84142a67d0b2ea628ecba 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/ata_platform.h>
 #include <linux/delay.h>
 #include <linux/clk-provider.h>
+#include <linux/cpu.h>
 #include <net/dsa.h>
 #include <asm/page.h>
 #include <asm/setup.h>