All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: sunxi: add missing include for mdelay()
@ 2012-11-30  1:37 ` Josh Cartwright
  0 siblings, 0 replies; 6+ messages in thread
From: Josh Cartwright @ 2012-11-30  1:37 UTC (permalink / raw)
  To: linux-arm-kernel

  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>
---
Fixes multiplatform build error seen with today's linux-next-20121129.

 arch/arm/mach-sunxi/sunxi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index dc634ae..9be910f 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>
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-30 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  1:37 [PATCH] ARM: sunxi: add missing include for mdelay() Josh Cartwright
2012-11-30  1:37 ` Josh Cartwright
2012-11-30  8:18 ` Maxime Ripard
2012-11-30  8:18   ` Maxime Ripard
2012-11-30 17:58   ` Olof Johansson
2012-11-30 17:58     ` Olof Johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.