Skip to content

Commit

Permalink
Merge tag 'renesas-sh-drivers-for-v3.17' of git://git.kernel.org/pub/…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Linus Torvalds committed Aug 25, 2014
2 parents 497c01d + 049d280 commit dd5957b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-shmobile/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ config ARCH_SH7372
select ARM_CPU_SUSPEND if PM || CPU_IDLE
select CPU_V7
select SH_CLK_CPG
select SH_INTC
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU

Expand All @@ -85,6 +86,7 @@ config ARCH_SH73A0
select CPU_V7
select I2C
select SH_CLK_CPG
select SH_INTC
select RENESAS_INTC_IRQPIN
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
Expand Down
3 changes: 3 additions & 0 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ menu "System type"
#
config CPU_SH2
bool
select SH_INTC

config CPU_SH2A
bool
Expand All @@ -182,13 +183,15 @@ config CPU_SH3
bool
select CPU_HAS_INTEVT
select CPU_HAS_SR_RB
select SH_INTC
select SYS_SUPPORTS_SH_TMU

config CPU_SH4
bool
select CPU_HAS_INTEVT
select CPU_HAS_SR_RB
select CPU_HAS_FPU if !CPU_SH4AL_DSP
select SH_INTC
select SYS_SUPPORTS_SH_TMU
select SYS_SUPPORTS_HUGETLBFS if MMU

Expand Down
3 changes: 1 addition & 2 deletions drivers/sh/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#
# Makefile for the SuperH specific drivers.
#
obj-$(CONFIG_SUPERH) += intc/
obj-$(CONFIG_ARCH_SHMOBILE_LEGACY) += intc/
obj-$(CONFIG_SH_INTC) += intc/
ifneq ($(CONFIG_COMMON_CLK),y)
obj-$(CONFIG_HAVE_CLK) += clk/
endif
Expand Down
6 changes: 5 additions & 1 deletion drivers/sh/intc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
config SH_INTC
def_bool y
bool
select IRQ_DOMAIN

if SH_INTC

comment "Interrupt controller options"

config INTC_USERIMASK
Expand Down Expand Up @@ -37,3 +39,5 @@ config INTC_MAPPING_DEBUG
between system IRQs and the per-controller id tables.

If in doubt, say N.

endif

0 comments on commit dd5957b

Please sign in to comment.