[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

Subsystems: arm port, framebuffer layer, input (keyboard, mouse, joystick, touchscreen) drivers, memory technology devices (mtd), nand flash subsystem, omap1 support, sound, sound - soc layer / dynamic audio power management (asoc), the rest

STALE5081d

5 messages, 3 authors, 2012-09-20 · open the first message on its own page

[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

From: tony@atomide.com (Tony Lindgren)
Date: 2012-09-19 21:05:43

This is only used by omap1.

And to fix things properly, this should not be included
from the drivers at all.

Cc: Janusz Krzysztofik <redacted>
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Cc: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Cc: linux-mtd@lists.infradead.org
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Cc: Peter Ujfalusi <redacted>
Cc: Liam Girdwood <redacted>
Cc: Mark Brown <redacted>
Cc: alsa-devel@alsa-project.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap1/ams-delta-fiq-handler.S        |    2 +-
 arch/arm/mach-omap1/ams-delta-fiq.c                |    2 +-
 arch/arm/mach-omap1/board-ams-delta.c              |    2 +-
 arch/arm/mach-omap1/include/mach/board-ams-delta.h |    0 
 drivers/input/serio/ams_delta_serio.c              |    2 +-
 drivers/mtd/nand/ams-delta.c                       |    2 +-
 drivers/video/omap/lcd_ams_delta.c                 |    2 +-
 sound/soc/omap/ams-delta.c                         |    2 +-
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename arch/arm/{plat-omap/include/plat/board-ams-delta.h => mach-omap1/include/mach/board-ams-delta.h} (100%)
diff --git a/arch/arm/mach-omap1/ams-delta-fiq-handler.S b/arch/arm/mach-omap1/ams-delta-fiq-handler.S
index d2b6acc..3d1e1c2 100644
--- a/arch/arm/mach-omap1/ams-delta-fiq-handler.S
+++ b/arch/arm/mach-omap1/ams-delta-fiq-handler.S
@@ -16,7 +16,7 @@
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 
 #include <mach/irqs.h>
 #include <mach/ams-delta-fiq.h>
diff --git a/arch/arm/mach-omap1/ams-delta-fiq.c b/arch/arm/mach-omap1/ams-delta-fiq.c
index 68e8e56..f12a12a 100644
--- a/arch/arm/mach-omap1/ams-delta-fiq.c
+++ b/arch/arm/mach-omap1/ams-delta-fiq.c
@@ -19,7 +19,7 @@
 #include <linux/module.h>
 #include <linux/io.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 
 #include <asm/fiq.h>
 
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
index 05af063..b9929cb 100644
--- a/arch/arm/mach-omap1/board-ams-delta.c
+++ b/arch/arm/mach-omap1/board-ams-delta.c
@@ -35,7 +35,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 #include <plat/keypad.h>
 #include <mach/mux.h>
 
diff --git a/arch/arm/plat-omap/include/plat/board-ams-delta.h b/arch/arm/mach-omap1/include/mach/board-ams-delta.h
similarity index 100%
rename from arch/arm/plat-omap/include/plat/board-ams-delta.h
rename to arch/arm/mach-omap1/include/mach/board-ams-delta.h
diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c
index f5fbdf9..45887e3 100644
--- a/drivers/input/serio/ams_delta_serio.c
+++ b/drivers/input/serio/ams_delta_serio.c
@@ -27,7 +27,7 @@
 #include <linux/module.h>
 
 #include <asm/mach-types.h>
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 
 #include <mach/ams-delta-fiq.h>
 
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c
index c28eec0..9e7723a 100644
--- a/drivers/mtd/nand/ams-delta.c
+++ b/drivers/mtd/nand/ams-delta.c
@@ -29,7 +29,7 @@
 #include <asm/io.h>
 #include <asm/sizes.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 
 #include <mach/hardware.h>
 
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c
index 5cca6b3..ed4cad8 100644
--- a/drivers/video/omap/lcd_ams_delta.c
+++ b/drivers/video/omap/lcd_ams_delta.c
@@ -27,7 +27,7 @@
 #include <linux/lcd.h>
 #include <linux/gpio.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 
 #include "omapfb.h"
 
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c
index 7b18b74..98e25d5 100644
--- a/sound/soc/omap/ams-delta.c
+++ b/sound/soc/omap/ams-delta.c
@@ -32,7 +32,7 @@
 
 #include <asm/mach-types.h>
 
-#include <plat/board-ams-delta.h>
+#include <mach/board-ams-delta.h>
 #include <plat/mcbsp.h>
 
 #include "omap-mcbsp.h"

[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

From: Mark Brown <hidden>
Date: 2012-09-20 01:16:31

On Wed, Sep 19, 2012 at 02:05:43PM -0700, Tony Lindgren wrote:
This is only used by omap1.

And to fix things properly, this should not be included
from the drivers at all.
Acked-by: Mark Brown <redacted>

or I can apply it if that's easier.

[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

From: Janusz Krzysztofik <hidden>
Date: 2012-09-20 13:41:45

On Wed, 19 Sep 2012 14:05:43 Tony Lindgren wrote:
This is only used by omap1.

And to fix things properly, this should not be included
from the drivers at all.
Akced-by: Janusz Krzysztofik [off-list ref]

I'll take care of updating the drivers when I have some spare time.

Thanks,
Janusz

[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

From: tony@atomide.com (Tony Lindgren)
Date: 2012-09-20 17:10:54

* Janusz Krzysztofik [off-list ref] [120920 06:48]:
On Wed, 19 Sep 2012 14:05:43 Tony Lindgren wrote:
quoted
This is only used by omap1.

And to fix things properly, this should not be included
from the drivers at all.
Akced-by: Janusz Krzysztofik [off-list ref]

I'll take care of updating the drivers when I have some spare time.
Thanks those can be fixed by passing them in the platform data.

Regards,

Tony

[PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

From: tony@atomide.com (Tony Lindgren)
Date: 2012-09-20 17:12:41

* Mark Brown [off-list ref] [120919 19:05]:
On Wed, Sep 19, 2012 at 02:05:43PM -0700, Tony Lindgren wrote:
quoted
This is only used by omap1.

And to fix things properly, this should not be included
from the drivers at all.
Acked-by: Mark Brown <redacted>

or I can apply it if that's easier.
Thanks I'll do a series for Arnd on top of the multiplatform
changes to avoid more merge conflicts.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help