]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b1caa7c99fe57aec6f512d8ed4e02cc19ca719a
tree3144eddadedc4237a6b66c11700f64aed852f975
parentfcca7ce0c0b32ecf91aaf8c430260c6d92361e13
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