summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi
diff options
context:
space:
mode:
authorJosh Cartwright <josh.cartwright@ni.com>2012-11-30 05:37:30 +0400
committerOlof Johansson <olof@lixom.net>2012-11-30 21:56:33 +0400
commit5e51651de30677f9d36805de9c261bf80f415790 (patch)
tree87347d482f99e0edbc6bb4c2f47ea9c2804c131a /arch/arm/mach-sunxi
parent67bea88dd842deb3ed8327ad101970dbd615ddcb (diff)
downloadlinux-5e51651de30677f9d36805de9c261bf80f415790.tar.xz
ARM: sunxi: add missing include for mdelay()
CC arch/arm/mach-sunxi/sunxi.o ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart': ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration] Signed-off-by: Josh Cartwright <josh.cartwright@ni.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r--arch/arm/mach-sunxi/sunxi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index dc634ae2081f..9be910f7920b 100644
--- a/arch/arm/mach-sunxi/sunxi.c
+++ b/arch/arm/mach-sunxi/sunxi.c
@@ -10,6 +10,7 @@
* warranty of any kind, whether express or implied.
*/
+#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/of_address.h>