Skip to contentSkip to conversation

ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices

PATCH New Fabio Estevam 3 participants 4 messages Nov 26, 2012 – Dec 17, 2012

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

PATCH 1/1 ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices

Move platform-mx2-emma to arch/arm/mach-imx/devices and fix the following build error:

make[2]: *** No rule to make target arch/arm/mach-imx/devices/platform-mx2-emma.o', needed by arch/arm/mach-imx/devices/built-in.o'. Stop.

---
 .../devices/platform-mx2-emma.c                    |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/{plat-mxc => mach-imx}/devices/platform-mx2-emma.c (94%)
arch/arm/mach-imx/devices/platform-mx2-emma.c renamed from arch/arm/plat-mxc/devices/platform-mx2-emma.c +2 -2
similarity index 94%
rename from arch/arm/plat-mxc/devices/platform-mx2-emma.c
rename to arch/arm/mach-imx/devices/platform-mx2-emma.c
index 508404d..11bd01d 100644
@@ -6,8 +6,8 @@
  * the terms of the GNU General Public License version 2 as published by the
  * Free Software Foundation.
  */
-#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "../hardware.h"
+#include "devices-common.h"
 
 #define imx_mx2_emmaprp_data_entry_single(soc)				\
 	{								\
Signature · 1 line
1.7.9.5
reviewer
#1 lore raw

PATCH 1/1 ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices

Hi Sascha,

Quoted 6 lines · Fabio Estevam

Move platform-mx2-emma to arch/arm/mach-imx/devices and fix the following build error:

make[2]: *** No rule to make target arch/arm/mach-imx/devices/platform-mx2-emma.o', needed by arch/arm/mach-imx/devices/built-in.o'. Stop.

Could this one be applied, so that linux-next can be built again form imx_v4_v5_defconfig?

Regards,

Fabio Estevam

reviewer
#2 lore raw

PATCH 1/1 ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices

Quoted 2 lines · Fabio Estevam

Could this one be applied, so that linux-next can be built again form imx_v4_v5_defconfig?

Ping?

maintainer Applied
#3 lore raw

PATCH 1/1 ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices

In reply to Fabio Estevam
Quoted 6 lines · Fabio Estevam

Move platform-mx2-emma to arch/arm/mach-imx/devices and fix the following build error:

make[2]: *** No rule to make target arch/arm/mach-imx/devices/platform-mx2-emma.o', needed by arch/arm/mach-imx/devices/built-in.o'. Stop.

Applied, thanks

Sascha

Quoted 28 lines
---
 .../devices/platform-mx2-emma.c                    |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/{plat-mxc => mach-imx}/devices/platform-mx2-emma.c (94%)
arch/arm/mach-imx/devices/platform-mx2-emma.c renamed from arch/arm/plat-mxc/devices/platform-mx2-emma.c +2 -2
similarity index 94%
rename from arch/arm/plat-mxc/devices/platform-mx2-emma.c
rename to arch/arm/mach-imx/devices/platform-mx2-emma.c
index 508404d..11bd01d 100644
@@ -6,8 +6,8 @@
  * the terms of the GNU General Public License version 2 as published by the
  * Free Software Foundation.
  */
-#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "../hardware.h"
+#include "devices-common.h"
 
 #define imx_mx2_emmaprp_data_entry_single(soc)				\
 	{								\
Signature · 1 line
1.7.9.5
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |