Skip to contentSkip to conversation

ARM: mx3/pcm043: Remove unneeded esdhc.h define

PATCH New Fabio Estevam 2 participants 2 messages Apr 4, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mx3/pcm043: Remove unneeded esdhc.h define

"devices-imx35.h" includes <mach/devices-common.h>; and the latter includes <mach/esdhc.h>, so no need to include it again in mach-pcm043.c.

---
 arch/arm/mach-mx3/mach-pcm043.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-mx3/mach-pcm043.c +0 -1
index 036ba1a..9caf38b 100644
@@ -40,7 +40,6 @@
 #include <mach/mx3fb.h>
 #include <mach/ulpi.h>
 #include <mach/audmux.h>
-#include <mach/esdhc.h>
 
 #include "devices-imx35.h"
 #include "devices.h"
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 ARM: mx3/pcm043: Remove unneeded esdhc.h define

Hi Fabio,

Quoted 4 lines · Fabio Estevam

"devices-imx35.h" includes <mach/devices-common.h>; and the latter includes <mach/esdhc.h>, so no need to include it again in mach-pcm043.c.

good intention, but I have a more complete patch

ARM: imx: don't #include files that come via "devices-imxXY.h", too

(not yet posted though). I intend to send out my pending patches later today.

Best regards and thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |