Skip to contentSkip to conversation

video/omap: remove duplicated include

PATCH In review Nicolas Kaiser 3 participants 5 messages Oct 4, 2010 – Oct 5, 2010 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/omap: remove duplicated include

Remove duplicated include.

---
 drivers/video/omap/lcd_omap3beagle.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/video/omap/lcd_omap3beagle.c +0 -1
index ca75cc2..ac715f9 100644
@@ -26,7 +26,6 @@
 #include <linux/i2c/twl.h>
 
 #include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"
Signature · 1 line
1.7.2.2
#1 lore raw
Quoted 12 lines · Nicolas Kaiser

Remove duplicated include.

---
 drivers/video/omap/lcd_omap3beagle.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/video/omap/lcd_omap3beagle.c +0 -0
index ca75cc2..ac715f9 100644

drivers/video/omap/lcd_omap3beagle.c line 31

Quoted 7 lines
drivers/video/omap/lcd_omap3beagle.c +0 -1
@@ -26,7 +26,6 @@
 #include <linux/i2c/twl.h>
 
 #include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"

Can you please updated this to remove both mux.h entries?

Including mux.h should no longer be needed for omap2/3/4 SoCs outside arch/arm/mach-omap2 files. For omap1 machines those are still needed in some drivers..

Regards,

Tony

#2 lore raw

PATCH 1/1 video/omap: remove mux.h include

Including mux.h should no longer be needed for omap2/3/4 SoCs outside arch/arm/mach-omap2 files.

---
 drivers/video/omap/lcd_omap3beagle.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/omap/lcd_omap3beagle.c +0 -2
index ca75cc2..d7c6c3e 100644
@@ -25,8 +25,6 @@
 #include <linux/gpio.h>
 #include <linux/i2c/twl.h>
 
-#include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"
Signature · 1 line
1.7.2.2
Acked-by on v1 1/1
#3 lore raw

Re: [PATCH] video/omap: remove mux.h include

Quoted 4 lines · Nicolas Kaiser

Including mux.h should no longer be needed for omap2/3/4 SoCs outside arch/arm/mach-omap2 files.

Thanks,

Quoted 19 lines
---
 drivers/video/omap/lcd_omap3beagle.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/omap/lcd_omap3beagle.c +0 -2
index ca75cc2..d7c6c3e 100644
@@ -25,8 +25,6 @@
 #include <linux/gpio.h>
 #include <linux/i2c/twl.h>
 
-#include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"
Signature · 1 line
1.7.2.2