diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-25 18:29:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-25 18:29:33 -0400 |
| commit | dd5957b78f9f17c3d4018dcff21dbae9a4486128 (patch) | |
| tree | c833cca7707288005906a7583c36112f7475637e | |
| parent | 497c01dda9a6abc969573ba999a86ed04a835e76 (diff) | |
| parent | 049d28048be595e0a10a58fe1c104b153c386633 (diff) | |
Merge tag 'renesas-sh-drivers-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
Pull SH driver fix from Simon Horman:
"Confine SH_INTC to platforms that need it"
* tag 'renesas-sh-drivers-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
sh: intc: Confine SH_INTC to platforms that need it
| -rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 2 | ||||
| -rw-r--r-- | arch/sh/Kconfig | 3 | ||||
| -rw-r--r-- | drivers/sh/Makefile | 3 | ||||
| -rw-r--r-- | drivers/sh/intc/Kconfig | 6 |
4 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index e15dff790dbb..1e6c51c7c2d5 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
| @@ -75,6 +75,7 @@ config ARCH_SH7372 | |||
| 75 | select ARM_CPU_SUSPEND if PM || CPU_IDLE | 75 | select ARM_CPU_SUSPEND if PM || CPU_IDLE |
| 76 | select CPU_V7 | 76 | select CPU_V7 |
| 77 | select SH_CLK_CPG | 77 | select SH_CLK_CPG |
| 78 | select SH_INTC | ||
| 78 | select SYS_SUPPORTS_SH_CMT | 79 | select SYS_SUPPORTS_SH_CMT |
| 79 | select SYS_SUPPORTS_SH_TMU | 80 | select SYS_SUPPORTS_SH_TMU |
| 80 | 81 | ||
| @@ -85,6 +86,7 @@ config ARCH_SH73A0 | |||
| 85 | select CPU_V7 | 86 | select CPU_V7 |
| 86 | select I2C | 87 | select I2C |
| 87 | select SH_CLK_CPG | 88 | select SH_CLK_CPG |
| 89 | select SH_INTC | ||
| 88 | select RENESAS_INTC_IRQPIN | 90 | select RENESAS_INTC_IRQPIN |
| 89 | select SYS_SUPPORTS_SH_CMT | 91 | select SYS_SUPPORTS_SH_CMT |
| 90 | select SYS_SUPPORTS_SH_TMU | 92 | select SYS_SUPPORTS_SH_TMU |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 453fa5c09550..b319846ad97f 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
| @@ -172,6 +172,7 @@ menu "System type" | |||
| 172 | # | 172 | # |
| 173 | config CPU_SH2 | 173 | config CPU_SH2 |
| 174 | bool | 174 | bool |
| 175 | select SH_INTC | ||
| 175 | 176 | ||
| 176 | config CPU_SH2A | 177 | config CPU_SH2A |
| 177 | bool | 178 | bool |
| @@ -182,6 +183,7 @@ config CPU_SH3 | |||
| 182 | bool | 183 | bool |
| 183 | select CPU_HAS_INTEVT | 184 | select CPU_HAS_INTEVT |
| 184 | select CPU_HAS_SR_RB | 185 | select CPU_HAS_SR_RB |
| 186 | select SH_INTC | ||
| 185 | select SYS_SUPPORTS_SH_TMU | 187 | select SYS_SUPPORTS_SH_TMU |
| 186 | 188 | ||
| 187 | config CPU_SH4 | 189 | config CPU_SH4 |
| @@ -189,6 +191,7 @@ config CPU_SH4 | |||
| 189 | select CPU_HAS_INTEVT | 191 | select CPU_HAS_INTEVT |
| 190 | select CPU_HAS_SR_RB | 192 | select CPU_HAS_SR_RB |
| 191 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | 193 | select CPU_HAS_FPU if !CPU_SH4AL_DSP |
| 194 | select SH_INTC | ||
| 192 | select SYS_SUPPORTS_SH_TMU | 195 | select SYS_SUPPORTS_SH_TMU |
| 193 | select SYS_SUPPORTS_HUGETLBFS if MMU | 196 | select SYS_SUPPORTS_HUGETLBFS if MMU |
| 194 | 197 | ||
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile index 788ed9b59b4e..114203f32843 100644 --- a/drivers/sh/Makefile +++ b/drivers/sh/Makefile | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Makefile for the SuperH specific drivers. | 2 | # Makefile for the SuperH specific drivers. |
| 3 | # | 3 | # |
| 4 | obj-$(CONFIG_SUPERH) += intc/ | 4 | obj-$(CONFIG_SH_INTC) += intc/ |
| 5 | obj-$(CONFIG_ARCH_SHMOBILE_LEGACY) += intc/ | ||
| 6 | ifneq ($(CONFIG_COMMON_CLK),y) | 5 | ifneq ($(CONFIG_COMMON_CLK),y) |
| 7 | obj-$(CONFIG_HAVE_CLK) += clk/ | 6 | obj-$(CONFIG_HAVE_CLK) += clk/ |
| 8 | endif | 7 | endif |
diff --git a/drivers/sh/intc/Kconfig b/drivers/sh/intc/Kconfig index 60228fae943f..6a1b05ddc8c9 100644 --- a/drivers/sh/intc/Kconfig +++ b/drivers/sh/intc/Kconfig | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | config SH_INTC | 1 | config SH_INTC |
| 2 | def_bool y | 2 | bool |
| 3 | select IRQ_DOMAIN | 3 | select IRQ_DOMAIN |
| 4 | 4 | ||
| 5 | if SH_INTC | ||
| 6 | |||
| 5 | comment "Interrupt controller options" | 7 | comment "Interrupt controller options" |
| 6 | 8 | ||
| 7 | config INTC_USERIMASK | 9 | config INTC_USERIMASK |
| @@ -37,3 +39,5 @@ config INTC_MAPPING_DEBUG | |||
| 37 | between system IRQs and the per-controller id tables. | 39 | between system IRQs and the per-controller id tables. |
| 38 | 40 | ||
| 39 | If in doubt, say N. | 41 | If in doubt, say N. |
| 42 | |||
| 43 | endif | ||
