Skip to contentSkip to conversation

ARM i.MX50: Rename devices-mx50.h

PATCH New Jason Liu 3 participants 3 messages Jan 10, 2011

Subsystems (3)
lore
Share & tools
lore

Jason Liu

author
#0 lore raw

PATCH 1/1 ARM i.MX50: Rename devices-mx50.h

There are devices-imx51.h and devices-imx53.h under arch/arm/mach-mx5 directory. So, had better rename devices-mx50.h to devices-imx50.h to follow the same naming convention with imx51 and imx53 part.

---
 arch/arm/mach-mx5/board-mx50_rdp.c                 |    2 +-
 .../mach-mx5/{devices-mx50.h => devices-imx50.h}   |    0
 2 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-mx5/board-mx50_rdp.c +1 -1
index fd32e4c..e5bb600 100644
@@ -35,7 +35,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/time.h>
 
-#include "devices-mx50.h"
+#include "devices-imx50.h"
 
 static iomux_v3_cfg_t mx50_rdp_pads[] __initdata = {
 	/* SD1 */
arch/arm/mach-mx5/devices-imx50.h renamed from arch/arm/mach-mx5/devices-mx50.h +0 -0
similarity index 100%
rename from arch/arm/mach-mx5/devices-mx50.h
rename to arch/arm/mach-mx5/devices-imx50.h
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 ARM i.MX50: Rename devices-mx50.h

Quoted 6 lines · Jason Liu

There are devices-imx51.h and devices-imx53.h under arch/arm/mach-mx5 directory. So, had better rename devices-mx50.h to devices-imx50.h to follow the same naming convention with imx51 and imx53 part.

Quoted 27 lines
---
 arch/arm/mach-mx5/board-mx50_rdp.c                 |    2 +-
 .../mach-mx5/{devices-mx50.h => devices-imx50.h}   |    0
 2 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-mx5/board-mx50_rdp.c +1 -1
index fd32e4c..e5bb600 100644
@@ -35,7 +35,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/time.h>
 
-#include "devices-mx50.h"
+#include "devices-imx50.h"
 
 static iomux_v3_cfg_t mx50_rdp_pads[] __initdata = {
 	/* SD1 */
arch/arm/mach-mx5/devices-imx50.h renamed from arch/arm/mach-mx5/devices-mx50.h +0 -0
similarity index 100%
rename from arch/arm/mach-mx5/devices-mx50.h
rename to arch/arm/mach-mx5/devices-imx50.h
Signature · 1 line
1.7.0.4
Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#2 lore raw

PATCH 1/1 ARM i.MX50: Rename devices-mx50.h

In reply to Jason Liu
Quoted 4 lines · Jason Liu

There are devices-imx51.h and devices-imx53.h under arch/arm/mach-mx5 directory. So, had better rename devices-mx50.h to devices-imx50.h to follow the same naming convention with imx51 and imx53 part.

I noticed that too. Sometimes we use imx as part of file name or macro name, but other times we use mx . We'd better make some rule that when and where we suppose to use what.
I suggest we move all to mx for short. Reasons:
- For freescale internal, starting from mx5, we all use mx.
- macros in soc header files all use mx.
- soc header file name all use mx too.
- mach-types all use mx. (count in freescale board only)

Thanks
Richard

Quoted 34 lines

---
?arch/arm/mach-mx5/board-mx50_rdp.c ? ? ? ? ? ? ? ? | ? ?2 +- ?.../mach-mx5/{devices-mx50.h => devices-imx50.h} ? | ? ?0 ?2 files changed, 1 insertions(+), 1 deletions(-)

arch/arm/mach-mx5/board-mx50_rdp.c +0 -0
index fd32e4c..e5bb600 100644
@@ -35,7 +35,7 @@

?#include <asm/mach/arch.h>
?#include <asm/mach/time.h>

arch/arm/mach-mx5/board-mx50_rdp.c +1 -1
-#include "devices-mx50.h"
+#include "devices-imx50.h"

?static iomux_v3_cfg_t mx50_rdp_pads[] __initdata = { ? ? ? ?/* SD1 */

arch/arm/mach-mx5/devices-imx50.h renamed from arch/arm/mach-mx5/devices-mx50.h +0 -1
similarity index 100%
rename from arch/arm/mach-mx5/devices-mx50.h
rename to arch/arm/mach-mx5/devices-imx50.h
--

1.7.0.4

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel