ARM i.MX50: Rename devices-mx50.h
Subsystems (3)
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
@@ -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
Signature · 1 line
1.7.0.4
PATCH 1/1 ARM i.MX50: Rename devices-mx50.h
Quoted 6 lines · Jason Liu
There are
devices-imx51.handdevices-imx53.hunderarch/arm/mach-mx5directory. So, had better renamedevices-mx50.htodevices-imx50.hto follow the same naming convention with imx51 and imx53 part.Signed-off-by Jason Liu <[email protected]>
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@@ -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
-0Signature · 1 line
1.7.0.4
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
PATCH 1/1 ARM i.MX50: Rename devices-mx50.h
In reply to Jason LiuQuoted 4 lines · Jason Liu
There are
devices-imx51.handdevices-imx53.hunderarch/arm/mach-mx5directory. So, had better renamedevices-mx50.htodevices-imx50.hto 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
Signed-off-by Jason Liu <[email protected]>---
?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@@ -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_tmx50_rdp_pads[]__initdata= { ? ? ? ?/* SD1 */arch/arm/mach-mx5/devices-imx50.h renamed from arch/arm/mach-mx5/devices-mx50.h +0
-1--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