From patchwork Mon May 9 07:36:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 768512 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p497aPsv029743 for ; Mon, 9 May 2011 07:36:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760Ab1EIHgX (ORCPT ); Mon, 9 May 2011 03:36:23 -0400 Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]:36860 "EHLO na3sys009aog105.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000Ab1EIHgX (ORCPT ); Mon, 9 May 2011 03:36:23 -0400 Received: from mail-ey0-f172.google.com ([209.85.215.172]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKTceZdcX/FjVC2rw/3Tzsnp0I/rMVwbQ6@postini.com; Mon, 09 May 2011 00:36:22 PDT Received: by eye13 with SMTP id 13so1788652eye.31 for ; Mon, 09 May 2011 00:36:20 -0700 (PDT) Received: by 10.213.107.147 with SMTP id b19mr924621ebp.7.1304926580466; Mon, 09 May 2011 00:36:20 -0700 (PDT) Received: from localhost.localdomain (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id z48sm3238401eez.6.2011.05.09.00.36.18 (version=SSLv3 cipher=OTHER); Mon, 09 May 2011 00:36:19 -0700 (PDT) From: Tomi Valkeinen To: tony@atomide.com Cc: linux-omap@vger.kernel.org, Tomi Valkeinen Subject: [PATCH 1/6] OMAP: RX51: Remove unused old omapfb stuff Date: Mon, 9 May 2011 10:36:02 +0300 Message-Id: <1304926567-26814-2-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1304926567-26814-1-git-send-email-tomi.valkeinen@ti.com> References: <1304926567-26814-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 09 May 2011 07:36:36 +0000 (UTC) RX51 uses the new DSS2 display driver, but the board file still contained some code for the old omapfb driver. The old code can be removed. Signed-off-by: Tomi Valkeinen --- arch/arm/mach-omap2/board-rx51.c | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index e964895..116e19b 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c @@ -75,29 +75,6 @@ static struct cpuidle_params rx51_cpuidle_params[] = { {1, 7505, 15274, 484329}, }; -static struct omap_lcd_config rx51_lcd_config = { - .ctrl_name = "internal", -}; - -static struct omap_fbmem_config rx51_fbmem0_config = { - .size = 752 * 1024, -}; - -static struct omap_fbmem_config rx51_fbmem1_config = { - .size = 752 * 1024, -}; - -static struct omap_fbmem_config rx51_fbmem2_config = { - .size = 752 * 1024, -}; - -static struct omap_board_config_kernel rx51_config[] = { - { OMAP_TAG_FBMEM, &rx51_fbmem0_config }, - { OMAP_TAG_FBMEM, &rx51_fbmem1_config }, - { OMAP_TAG_FBMEM, &rx51_fbmem2_config }, - { OMAP_TAG_LCD, &rx51_lcd_config }, -}; - static void __init rx51_init_early(void) { struct omap_sdrc_params *sdrc_params; @@ -124,8 +101,6 @@ static struct omap_musb_board_data musb_board_data = { static void __init rx51_init(void) { omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); - omap_board_config = rx51_config; - omap_board_config_size = ARRAY_SIZE(rx51_config); omap3_pm_init_cpuidle(rx51_cpuidle_params); omap_serial_init(); usb_musb_init(&musb_board_data);