Message ID | 1457922549-2610-1-git-send-email-annie.wang@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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 --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 */
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(-)