]> git.baikalelectronics.ru Git - kernel.git/commit
sh: intc: Confine SH_INTC to platforms that need it
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Aug 2014 13:39:22 +0000 (15:39 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 22 Aug 2014 03:28:16 +0000 (12:28 +0900)
commit915267ca0e96d6945dde0f2d37c24603449a0c97
tree04ecf6caf9a5b5b100f9b47a954d7bf6d0610ebd
parentf45f9587f1dd1e89dd1c89561c9572f777c5bcb7
sh: intc: Confine SH_INTC to platforms that need it

Currently the sh-intc driver is compiled on all SuperH and
non-multiplatform SH-Mobile platforms, while it's only used on a limited
number of platforms:
  - SuperH: SH2(A), SH3(A), SH4(A)(L) (all but SH5)
  - ARM: sh7372, sh73a0

Drop the "default y" on SH_INTC, make all CPU platforms that use it
select it, and protect all sub-options by "if SH_INTC" to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig
arch/sh/Kconfig
drivers/sh/Makefile
drivers/sh/intc/Kconfig