From: Tomi Valkeinen Date: Mon, 5 Nov 2012 13:14:18 +0000 (+0200) Subject: OMAP: omap4sdp: move display init from board file to dss-common.c X-Git-Tag: upstream/snapshot3+hdmi~6099^2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86cf29dc5a595957ab02068fcd39c57009763a8b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git OMAP: omap4sdp: move display init from board file to dss-common.c Device tree support for omapdss is still some way in the future. In an effort to get a minimal DSS support for DT enabled kernel on selected OMAP4 boards, we'll go for a temporary solution: We will call the same non-DT omapdss setup code for OMAP4 SDP and Pandaboards from board-generic.c, thus enabling DSS for those boards. This patch moves the display setup code from board-4430sdp.c to dss-common.c. dss-common.c will be called by the board-4430sdp.c when running on non-DT kernel, and by board-generic.c when running on DT enabled kernel. Signed-off-by: Tomi Valkeinen Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 3669c12..8ce98ae 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -37,9 +37,6 @@ #include #include #include "omap4-keypad.h" -#include