[PATCH] video: AMBA CLCD: Remove duplicated include in amba-clcd.c

Subsystems: framebuffer layer, the rest

STALE3799d

2 messages, 2 authors, 2016-03-11 · open the first message on its own page

[PATCH] video: AMBA CLCD: Remove duplicated include in amba-clcd.c

From: Wang Hongcheng <hidden>
Date: 2016-03-04 02:26:39

The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.

Signed-off-by: Wang Hongcheng <redacted>
---
 drivers/video/fbdev/amba-clcd.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c
index 9362424..1a1ed80 100644
--- a/drivers/video/fbdev/amba-clcd.c
+++ b/drivers/video/fbdev/amba-clcd.c
@@ -34,8 +34,6 @@
 #include <video/of_display_timing.h>
 #include <video/videomode.h>
 
-#include <asm/sizes.h>
-
 #define to_clcd(info)	container_of(info, struct clcd_fb, fb)
 
 /* This is limited to 16 characters when displayed by X startup */
-- 
1.9.1

Re: [PATCH] video: AMBA CLCD: Remove duplicated include in amba-clcd.c

From: Tomi Valkeinen <hidden>
Date: 2016-03-11 11:33:31

On 04/03/16 04:10, Wang Hongcheng wrote:
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
The subject says the include is duplicate, but the description says it's
not needed.

 Tomi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help