aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Cartwright <josh.cartwright@ni.com>2012-11-29 19:37:30 -0600
committerOlof Johansson <olof@lixom.net>2012-11-30 09:56:33 -0800
commit5e51651de30677f9d36805de9c261bf80f415790 (patch)
tree87347d482f99e0edbc6bb4c2f47ea9c2804c131a
parent67bea88dd842deb3ed8327ad101970dbd615ddcb (diff)
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>
-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 dc634ae2081..9be910f7920 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>