From patchwork Fri Oct 1 20:35:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Gadiyar X-Patchwork-Id: 224902 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 o91KYqnQ017498 for ; Fri, 1 Oct 2010 20:35:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529Ab0JAUfT (ORCPT ); Fri, 1 Oct 2010 16:35:19 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:42071 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753299Ab0JAUfS (ORCPT ); Fri, 1 Oct 2010 16:35:18 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o91KZDrn016636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Oct 2010 15:35:15 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o91KZBRo027316; Sat, 2 Oct 2010 02:05:11 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id o91KZBJ9018154; Sat, 2 Oct 2010 02:05:11 +0530 Received: (from a0393673@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id o91KZBjV018152; Sat, 2 Oct 2010 02:05:11 +0530 From: Anand Gadiyar To: linux-omap@vger.kernel.org Cc: Anand Gadiyar , Benjamin Herrenschmidt , Tony Lindgren Subject: [PATCH] omap: fix build break in omapfb due to a typo Date: Sat, 2 Oct 2010 02:05:11 +0530 Message-Id: <1285965311-18093-1-git-send-email-gadiyar@ti.com> X-Mailer: git-send-email 1.5.6.6 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.3 (demeter1.kernel.org [140.211.167.41]); Fri, 01 Oct 2010 20:35:20 +0000 (UTC) Index: linux-2.6/arch/arm/plat-omap/fb.c =================================================================== --- linux-2.6.orig/arch/arm/plat-omap/fb.c +++ linux-2.6/arch/arm/plat-omap/fb.c @@ -173,7 +173,7 @@ static int check_fbmem_region(int region static int valid_sdram(unsigned long addr, unsigned long size) { - return memblock_region_is_memory(addr, size); + return memblock_is_region_memory(addr, size); } static int reserve_sdram(unsigned long addr, unsigned long size) Index: linux-2.6/drivers/video/omap2/vram.c =================================================================== --- linux-2.6.orig/drivers/video/omap2/vram.c +++ linux-2.6/drivers/video/omap2/vram.c @@ -565,7 +565,7 @@ void __init omap_vram_reserve_sdram_memb if (paddr) { if ((paddr & ~PAGE_MASK) || - !memblock_region_is_memory(paddr, size)) { + !memblock_is_region_memory(paddr, size)) { pr_err("Illegal SDRAM region for VRAM\n"); return; }