ARM: sunxi: add missing include for mdelay()
authorJosh Cartwright <josh.cartwright@ni.com>
Fri, 30 Nov 2012 01:37:30 +0000 (19:37 -0600)
committerOlof Johansson <olof@lixom.net>
Fri, 30 Nov 2012 17:56:33 +0000 (09:56 -0800)
  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>
arch/arm/mach-sunxi/sunxi.c

index dc634ae2081f2d5bb86d7806b9d040fc88497fc0..9be910f7920b9d464f49bcb0e40c08f9ddf8e5cb 100644 (file)
@@ -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>