From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Subject: [PATCH 3/4] ARM: OMAP: rx51: DT boot: disable legacy dss init Date: Fri, 13 Dec 2013 19:17:29 +0100 Message-ID: <1386958650-2404-4-git-send-email-sre@debian.org> References: <1386958650-2404-1-git-send-email-sre@debian.org> Return-path: In-Reply-To: <1386958650-2404-1-git-send-email-sre@debian.org> Sender: linux-omap-owner@vger.kernel.org To: Sebastian Reichel , Tomi Valkeinen , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, Sebastian Reichel List-Id: devicetree@vger.kernel.org This disables legacy initialization of the omapdss, if the N900 is booted via DT. Signed-off-by: Sebastian Reichel --- arch/arm/mach-omap2/board-rx51-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index 43a90c8..9cfebc5 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c @@ -48,7 +48,7 @@ static struct omap_dss_board_info rx51_dss_board_info = { static int __init rx51_video_init(void) { - if (!machine_is_nokia_rx51() && !of_machine_is_compatible("nokia,omap3-n900")) + if (!machine_is_nokia_rx51()) return 0; if (omap_mux_init_gpio(RX51_LCD_RESET_GPIO, OMAP_PIN_OUTPUT)) { -- 1.8.5.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Date: Fri, 13 Dec 2013 18:17:29 +0000 Subject: [PATCH 3/4] ARM: OMAP: rx51: DT boot: disable legacy dss init Message-Id: <1386958650-2404-4-git-send-email-sre@debian.org> List-Id: References: <1386958650-2404-1-git-send-email-sre@debian.org> In-Reply-To: <1386958650-2404-1-git-send-email-sre@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sebastian Reichel , Tomi Valkeinen , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, Sebastian Reichel This disables legacy initialization of the omapdss, if the N900 is booted via DT. Signed-off-by: Sebastian Reichel --- arch/arm/mach-omap2/board-rx51-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index 43a90c8..9cfebc5 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c @@ -48,7 +48,7 @@ static struct omap_dss_board_info rx51_dss_board_info = { static int __init rx51_video_init(void) { - if (!machine_is_nokia_rx51() && !of_machine_is_compatible("nokia,omap3-n900")) + if (!machine_is_nokia_rx51()) return 0; if (omap_mux_init_gpio(RX51_LCD_RESET_GPIO, OMAP_PIN_OUTPUT)) { -- 1.8.5.1