linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OMAP2, 3: DSS2: Include linux/delay.h and common.h to fix build errors
@ 2011-11-30 12:01 Axel Lin
  2011-12-09  0:49 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-11-30 12:01 UTC (permalink / raw)
  To: linux-arm-kernel

Include linux/delay.h to fix below build error:

  CC      arch/arm/mach-omap2/display.o
arch/arm/mach-omap2/display.c: In function 'dispc_disable_outputs':
arch/arm/mach-omap2/display.c:283: error: implicit declaration of function 'mdelay'
arch/arm/mach-omap2/display.c: In function 'omap_dss_reset':
arch/arm/mach-omap2/display.c:317: error: implicit declaration of function 'omap_test_timeout'
make[1]: *** [arch/arm/mach-omap2/display.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Include common.h to fix below build error:

  CC      arch/arm/mach-omap2/display.o
arch/arm/mach-omap2/display.c: In function 'omap_dss_reset':
arch/arm/mach-omap2/display.c:318: error: implicit declaration of function 'omap_test_timeout'
make[1]: *** [arch/arm/mach-omap2/display.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
I got the build error on linux-next 20111130.
This patch is against linux-next 20111130.
Axel
 arch/arm/mach-omap2/display.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index dce9905..fe44cc2 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -21,6 +21,7 @@
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #include <linux/clk.h>
+#include <linux/delay.h>
 #include <linux/err.h>
 
 #include <video/omapdss.h>
@@ -30,6 +31,7 @@
 #include <plat/common.h>
 
 #include "control.h"
+#include "common.h"
 #include "display.h"
 
 #define DISPC_CONTROL		0x0040
-- 
1.7.5.4

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

* [PATCH] OMAP2, 3: DSS2: Include linux/delay.h and common.h to fix build errors
  2011-11-30 12:01 [PATCH] OMAP2, 3: DSS2: Include linux/delay.h and common.h to fix build errors Axel Lin
@ 2011-12-09  0:49 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2011-12-09  0:49 UTC (permalink / raw)
  To: linux-arm-kernel

* Axel Lin <axel.lin@gmail.com> [111130 03:26]:
> Include linux/delay.h to fix below build error:
> 
>   CC      arch/arm/mach-omap2/display.o
> arch/arm/mach-omap2/display.c: In function 'dispc_disable_outputs':
> arch/arm/mach-omap2/display.c:283: error: implicit declaration of function 'mdelay'
> arch/arm/mach-omap2/display.c: In function 'omap_dss_reset':
> arch/arm/mach-omap2/display.c:317: error: implicit declaration of function 'omap_test_timeout'
> make[1]: *** [arch/arm/mach-omap2/display.o] Error 1
> make: *** [arch/arm/mach-omap2] Error 2
> 
> Include common.h to fix below build error:
> 
>   CC      arch/arm/mach-omap2/display.o
> arch/arm/mach-omap2/display.c: In function 'omap_dss_reset':
> arch/arm/mach-omap2/display.c:318: error: implicit declaration of function 'omap_test_timeout'
> make[1]: *** [arch/arm/mach-omap2/display.o] Error 1
> make: *** [arch/arm/mach-omap2] Error 2
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> I got the build error on linux-next 20111130.
> This patch is against linux-next 20111130.
> Axel

Thanks we already have commit deee6d5359969a0ce4e2760cfd7b9f379bd5698a
in Russell's devel-stable branch doing the same thing.

Regards,

Tony

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

end of thread, other threads:[~2011-12-09  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 12:01 [PATCH] OMAP2, 3: DSS2: Include linux/delay.h and common.h to fix build errors Axel Lin
2011-12-09  0:49 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).