From: Guennadi Liakhovetski Date: Mon, 4 Apr 2011 15:08:05 +0000 (+0200) Subject: ARM: arch-shmobile: only run HDMI init on respective boards X-Git-Tag: v2.6.39-rc3~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce51f8b931a0e8b75dacbdff6df27d9be9da49f;p=pandora-kernel.git 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 Cc: Magnus Damm Tested-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- Reading git-diff-tree failed