Skip to contentSkip to conversation

ARM: shmobile: Get rid of <mach/hardware.h>

PATCH New Magnus Damm 2 participants 17 messages Jul 24, 2013

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

cover ARM: shmobile: Get rid of <mach/hardware.h>

ARM: shmobile: Get rid of <mach/hardware.h>

[PATCH 01/08] ARM: shmobile: Remove sh73a0 use of <mach/hardware.h> [PATCH 02/08] ARM: shmobile: Remove sh7372 use of <mach/hardware.h> [PATCH 03/08] ARM: shmobile: Remove EMEV2 use of <mach/hardware.h> [PATCH 04/08] ARM: shmobile: Remove r8a7779 use of <mach/hardware.h> [PATCH 05/08] ARM: shmobile: Remove AG5EVM use of <mach/hardware.h> [PATCH 06/08] ARM: shmobile: Remove Kota2 use of <mach/hardware.h> [PATCH 07/08] ARM: shmobile: Remove Marzen use of <mach/hardware.h> [PATCH 08/08] ARM: shmobile: Remove include <mach/hardware.h>

The <mach/hardware.h> file is empty anyway, so let's stop using it.

Feel free to drop Kota2 or AG5EVM patches in case those boards get removed before this series is applied.

---

Built on top of renesas-devel-20130723

 arch/arm/mach-shmobile/board-ag5evm.c          |    1 -
 arch/arm/mach-shmobile/board-kota2.c           |    1 -
 arch/arm/mach-shmobile/board-marzen.c          |    1 -
 arch/arm/mach-shmobile/include/mach/hardware.h |    4 ----
 arch/arm/mach-shmobile/setup-emev2.c           |    1 -
 arch/arm/mach-shmobile/setup-r8a7779.c         |    1 -
 arch/arm/mach-shmobile/setup-sh7372.c          |    1 -
 arch/arm/mach-shmobile/setup-sh73a0.c          |    1 -
 8 files changed, 11 deletions(-)
author maintainer
#1 lore raw

PATCH 1/8 ARM: shmobile: Remove sh73a0 use of <mach/hardware.h>

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on sh73a0.

---

 arch/arm/mach-shmobile/setup-sh73a0.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/setup-sh73a0.c +0 -1
@@ -34,7 +34,6 @@
 #include <linux/platform_data/sh_ipmmu.h>
 #include <linux/platform_data/irq-renesas-intc-irqpin.h>
 #include <mach/dma-register.h>
-#include <mach/hardware.h>
 #include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <mach/common.h>
#2 lore raw

PATCH 1/8 ARM: shmobile: Remove sh73a0 use of <mach/hardware.h>

Quoted 3 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on sh73a0.

Thanks, I have queued this up for v3.12 in the cleanup2 branch.

author maintainer
#3 lore raw

PATCH 2/8 ARM: shmobile: Remove sh7372 use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on sh7372.

---

 arch/arm/mach-shmobile/setup-sh7372.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/setup-sh7372.c +0 -1
@@ -35,7 +35,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/platform_data/sh_ipmmu.h>
 #include <mach/dma-register.h>
-#include <mach/hardware.h>
 #include <mach/irqs.h>
 #include <mach/sh7372.h>
 #include <mach/common.h>
author maintainer
#5 lore raw

PATCH 3/8 ARM: shmobile: Remove EMEV2 use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on EMEV2.

---

 arch/arm/mach-shmobile/setup-emev2.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/setup-emev2.c +0 -1
@@ -27,7 +27,6 @@
 #include <linux/input.h>
 #include <linux/io.h>
 #include <linux/irqchip/arm-gic.h>
-#include <mach/hardware.h>
 #include <mach/common.h>
 #include <mach/emev2.h>
 #include <mach/irqs.h>
author maintainer
#7 lore raw

PATCH 4/8 ARM: shmobile: Remove r8a7779 use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on r8a7779.

---

 arch/arm/mach-shmobile/setup-r8a7779.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/setup-r8a7779.c +0 -1
@@ -36,7 +36,6 @@
 #include <linux/usb/ehci_pdriver.h>
 #include <linux/usb/ohci_pdriver.h>
 #include <linux/pm_runtime.h>
-#include <mach/hardware.h>
 #include <mach/irqs.h>
 #include <mach/r8a7779.h>
 #include <mach/common.h>
author maintainer
#9 lore raw

PATCH 5/8 ARM: shmobile: Remove AG5EVM use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on AG5EVM.

---

 arch/arm/mach-shmobile/board-ag5evm.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/board-ag5evm.c +0 -1
@@ -47,7 +47,6 @@
 #include <video/sh_mobile_lcdc.h>
 #include <video/sh_mipi_dsi.h>
 #include <sound/sh_fsi.h>
-#include <mach/hardware.h>
 #include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <mach/common.h>
#10 lore raw

PATCH 5/8 ARM: shmobile: Remove AG5EVM use of <mach/hardware.h>

Quoted 5 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on AG5EVM.

I have skipped this patch as the cleanup2 branch, where I am applying other patches in this series, includes a patch to remove AG5EVM.

author maintainer
#11 lore raw

PATCH 6/8 ARM: shmobile: Remove Kota2 use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on Kota2.

---

 arch/arm/mach-shmobile/board-kota2.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/board-kota2.c +0 -1
@@ -44,7 +44,6 @@
 #include <linux/mmc/sh_mmcif.h>
 #include <linux/mfd/tmio.h>
 #include <linux/mmc/sh_mobile_sdhi.h>
-#include <mach/hardware.h>
 #include <mach/irqs.h>
 #include <mach/sh73a0.h>
 #include <mach/common.h>
#12 lore raw

PATCH 6/8 ARM: shmobile: Remove Kota2 use of <mach/hardware.h>

Quoted 5 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on Kota2.

I have skipped this patch as the cleanup2 branch, where I am applying other patches in this series, includes a patch to remove Kota2.

author maintainer
#13 lore raw

PATCH 7/8 ARM: shmobile: Remove Marzen use of <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove unused <mach/hardware.h> on Marzen.

---

 arch/arm/mach-shmobile/board-marzen.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/board-marzen.c +0 -1
@@ -37,7 +37,6 @@
 #include <linux/mmc/host.h>
 #include <linux/mmc/sh_mobile_sdhi.h>
 #include <linux/mfd/tmio.h>
-#include <mach/hardware.h>
 #include <mach/r8a7779.h>
 #include <mach/common.h>
 #include <mach/irqs.h>
author maintainer
#15 lore raw

PATCH 8/8 ARM: shmobile: Remove include <mach/hardware.h>

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Now when no one is using this file, remove <mach/hardware.h>.

---

 arch/arm/mach-shmobile/include/mach/hardware.h |    4 ----
 1 file changed, 4 deletions(-)
arch/arm/mach-shmobile/include/mach/hardware.h deleted +0 -4
@@ -1,4 +0,0 @@
-#ifndef __ASM_MACH_HARDWARE_H
-#define __ASM_MACH_HARDWARE_H
-
-#endif /* __ASM_MACH_HARDWARE_H */