All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] davinci: dm646x.h: include header files under mach/ after those in linux/
@ 2011-06-02 17:11 Sekhar Nori
  2011-06-02 17:11 ` [PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init() Sekhar Nori
  0 siblings, 1 reply; 12+ messages in thread
From: Sekhar Nori @ 2011-06-02 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

The general header file inclusion order followed
in the kernel is to include files under linux/
first and then under mach/.

The dm646x.h file has the opposite of this. Fix it.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/mach-davinci/include/mach/dm646x.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-davinci/include/mach/dm646x.h b/arch/arm/mach-davinci/include/mach/dm646x.h
index 7a27f3f..5e95b02 100644
--- a/arch/arm/mach-davinci/include/mach/dm646x.h
+++ b/arch/arm/mach-davinci/include/mach/dm646x.h
@@ -11,13 +11,14 @@
 #ifndef __ASM_ARCH_DM646X_H
 #define __ASM_ARCH_DM646X_H
 
-#include <mach/hardware.h>
-#include <mach/asp.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <linux/clk.h>
 #include <linux/davinci_emac.h>
 
+#include <mach/hardware.h>
+#include <mach/asp.h>
+
 #define DM646X_EMAC_BASE		(0x01C80000)
 #define DM646X_EMAC_MDIO_BASE		(DM646X_EMAC_BASE + 0x4000)
 #define DM646X_EMAC_CNTRL_OFFSET	(0x0000)
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-06-07  7:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-02 17:11 [PATCH 1/3] davinci: dm646x.h: include header files under mach/ after those in linux/ Sekhar Nori
2011-06-02 17:11 ` [PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init() Sekhar Nori
2011-06-02 17:11   ` [PATCH v3 3/3] davinci: da850: move input frequency to board specific files Sekhar Nori
2011-06-02 18:01   ` [PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init() Olof Johansson
2011-06-03 11:32     ` Nori, Sekhar
2011-06-03 16:59       ` Olof Johansson
2011-06-05 11:24         ` Nori, Sekhar
2011-06-05 13:00   ` Sergei Shtylyov
2011-06-06 11:31     ` Nori, Sekhar
2011-06-06 12:25       ` Bob Dunlop
2011-06-06 13:02         ` Nori, Sekhar
2011-06-07  7:41           ` Bob Dunlop

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.