ARM: arch-shmobile: only run FSI init on respective boards
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 5 Apr 2011 01:22:33 +0000 (01:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Apr 2011 18:21:38 +0000 (11:21 -0700)
commit6084c81e8a8ffa8b85d59e1ca7643dc76c23e412
tree11001c1ee20480d9a15849892573d777f82731eb
parent2ce51f8b931a0e8b75dacbdff6df27d9be9da49f
ARM: arch-shmobile: only run FSI init on respective boards

If several boards are enabled in the kernel configuration,
fsi_init_pm_clock() functions from board-ap4evb.c
will run on any of them. Prevent this by calling these functions from the
.init_machine() callback instead of using device_initcall().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ap4evb.c