diff options
author | Josh Cartwright <josh.cartwright@ni.com> | 2012-11-30 02:37:30 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-30 18:56:33 +0100 |
commit | 5e51651de30677f9d36805de9c261bf80f415790 (patch) | |
tree | 87347d482f99e0edbc6bb4c2f47ea9c2804c131a /arch/arm | |
parent | ARM: sunxi: Add sunxi restart function via onchip watchdog (diff) | |
download | linux-5e51651de30677f9d36805de9c261bf80f415790.tar.xz linux-5e51651de30677f9d36805de9c261bf80f415790.zip |
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')
-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> |