2016-03-04 02:26:39

by Wang, Annie

[permalink] [raw]
Subject: [PATCH] video: AMBA CLCD: Remove duplicated 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 <[email protected]>
---
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


2016-03-11 11:33:31

by Tomi Valkeinen

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

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


Attachments:
signature.asc (819.00 B)
OpenPGP digital signature