diff options
author | Josh Cartwright <josh.cartwright@ni.com> | 2012-11-29 19:37:30 -0600 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-30 09:56:33 -0800 |
commit | 5e51651de30677f9d36805de9c261bf80f415790 (patch) | |
tree | 87347d482f99e0edbc6bb4c2f47ea9c2804c131a /arch/arm/mach-sunxi | |
parent | 67bea88dd842deb3ed8327ad101970dbd615ddcb (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>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/sunxi.c | 1 |
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> |