ARM: arch-shmobile: only run HDMI init on respective boards
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 4 Apr 2011 15:08:05 +0000 (17:08 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Apr 2011 18:21:24 +0000 (11:21 -0700)
commit2ce51f8b931a0e8b75dacbdff6df27d9be9da49f
tree3144eddadedc4237a6b66c11700f64aed852f975
parent4a0f081d1b41cfe68df153d0bac7ad6baf226791
ARM: arch-shmobile: only run HDMI init on respective boards

If several boards are enabled in the kernel configuration,
hdmi_init_pm_clock() functions from board-ap4evb.c and board-mackerel.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: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Magnus Damm <damm@opensource.se>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ap4evb.c
arch/arm/mach-shmobile/board-mackerel.c