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

Subsystems: framebuffer layer, the rest

STALE3738d

3 messages, 2 authors, 2016-05-10 · open the first message on its own page

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

From: Wang Hongcheng <hidden>
Date: 2016-03-14 02:45:23

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 v2] video: AMBA CLCD: Remove unncessary include in amba-clcd.c

From: Wang, Annie <hidden>
Date: 2016-04-05 06:57:11

Hi Tomi,

Any comments of this patch? 

Regards,
Hongcheng Wang(Annie)
quoted hunk
-----Original Message-----
From: Wang Hongcheng [mailto:annie.wang@amd.com]
Sent: Monday, March 14, 2016 10:29 AM
To: Russell King; Jean-Christophe Plagniol-Villard; Tomi Valkeinen; linux-
fbdev@vger.kernel.org; linux-kernel@vger.kernel.org; Borislav Petkov;
SPG_Linux_Kernel
Cc: Wang, Annie
Subject: [PATCH v2] video: AMBA CLCD: Remove unncessary include in amba-
clcd.c

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 v2] video: AMBA CLCD: Remove unncessary include in amba-clcd.c

From: Tomi Valkeinen <hidden>
Date: 2016-05-10 10:33:38

On 14/03/16 04:29, Wang Hongcheng wrote:
quoted hunk
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 */
Thanks, queued for 4.7.

 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