diff mbox

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

Message ID 1457922549-2610-1-git-send-email-annie.wang@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wang Hongcheng March 14, 2016, 2:29 a.m. UTC
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 <annie.wang@amd.com>
---
 drivers/video/fbdev/amba-clcd.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Wang Hongcheng April 5, 2016, 6:56 a.m. UTC | #1
Hi Tomi,

Any comments of this patch? 

Regards,
Hongcheng Wang(Annie)

>-----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 <annie.wang@amd.com>
>---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tomi Valkeinen May 10, 2016, 10:32 a.m. UTC | #2
On 14/03/16 04:29, Wang Hongcheng wrote:
> 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 <annie.wang@amd.com>
> ---
>  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
diff mbox

Patch

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 */