Skip to contentSkip to conversation

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

PATCH Superseded Wang Hongcheng 2 participants 2 messages Mar 4, 2016 – Mar 11, 2016 Framebuffer layer

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/video/fbdev/amba-clcd.c | 2 --
 1 file changed, 2 deletions(-)
drivers/video/fbdev/amba-clcd.c +0 -2
index 9362424..1a1ed80 100644
@@ -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 */
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Wang Hongcheng

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