]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2423b7d2f1fdf755ccc1da1ff9026703f44a57f0
tree11001c1ee20480d9a15849892573d777f82731eb
parent9b1caa7c99fe57aec6f512d8ed4e02cc19ca719a
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