Skip to content

Commit

Permalink
ARM: sunxi: add missing include for mdelay()
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Josh Cartwright authored and Olof Johansson committed Nov 30, 2012
1 parent 67bea88 commit 5e51651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-sunxi/sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5e51651

Please sign in to comment.