Skip to content

Commit 7b2fea1

Browse files
committed
ARM: orion5x: include linux/cpu.h
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>
1 parent 2058842 commit 7b2fea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mach-orion5x/common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <linux/ata_platform.h>
2020
#include <linux/delay.h>
2121
#include <linux/clk-provider.h>
22+
#include <linux/cpu.h>
2223
#include <net/dsa.h>
2324
#include <asm/page.h>
2425
#include <asm/setup.h>

0 commit comments

Comments
 (0)