From patchwork Wed Apr 25 04:12:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 8113 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CBFAF23E13 for ; Wed, 25 Apr 2012 04:23:00 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 86847A1860D for ; Wed, 25 Apr 2012 04:23:00 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so2775712iag.11 for ; Tue, 24 Apr 2012 21:23:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=cX933eIIlGrYhkm1+lC/5U6DNtdLeT/hoy/XMEnaeQU=; b=R77Z0G14WYgk2Gbo3uANEvM18HA2PG9zwAiv2LiNXVABLvkotShe+nKfbPVBYWxl5m HoTvVcJwNqUR/W6xIvnpqssC3gzRwfnF9YIC4yJx3xlHhim4K7KwouliC0qcXZe9tTw/ vh5bx2stjRd6p7c0boPIr+2G9/88IiqccaA4X5cPZAmU66vGzxCN/NrVcr1n2XkoG3xN cQ1TCNszOZW1h4xL0WLRQnAKueDHpey0lSglVKgY45Iib8dUh6qIL02pi9TOnIfqXl2P tcHK9JIG/NY1Srm/FmKp4EbXXh4ieGD1kYgqMi1N5h1nMO6EMShjwiAFzKGhlQ1uXHyo YgHw== Received: by 10.50.194.163 with SMTP id hx3mr629412igc.49.1335327780327; Tue, 24 Apr 2012 21:23:00 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp231202ibt; Tue, 24 Apr 2012 21:22:59 -0700 (PDT) Received: by 10.68.217.67 with SMTP id ow3mr3955713pbc.16.1335327779673; Tue, 24 Apr 2012 21:22:59 -0700 (PDT) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx.google.com with ESMTPS id of4si22406508pbb.262.2012.04.24.21.22.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 21:22:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.210.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pz0-f44.google.com with SMTP id z14so5396129dad.17 for ; Tue, 24 Apr 2012 21:22:59 -0700 (PDT) Received: by 10.68.195.164 with SMTP id if4mr1738736pbc.87.1335327779385; Tue, 24 Apr 2012 21:22:59 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pv9sm9954480pbc.37.2012.04.24.21.22.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 21:22:58 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk, patches@linaro.org, Guillaume GOURAT , Ben Dooks Subject: [PATCH 15/33] ARM: S3C24XX: mach-nexcoder: Use common macro to define resources Date: Wed, 25 Apr 2012 09:42:25 +0530 Message-Id: <1335327163-11794-16-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1335327163-11794-1-git-send-email-tushar.behera@linaro.org> References: <1335327163-11794-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQmR+C4HA7cl7cehaiZaenIFgkxheqlDxPq5CZZN+tKrkKWkS4U/a31gDgAxfXncnHXWbyRO CC: Guillaume GOURAT CC: Ben Dooks CC: Kukjin Kim Signed-off-by: Tushar Behera --- arch/arm/mach-s3c24xx/mach-nexcoder.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-nexcoder.c b/arch/arm/mach-s3c24xx/mach-nexcoder.c index 5198e3e..5c05ba1 100644 --- a/arch/arm/mach-s3c24xx/mach-nexcoder.c +++ b/arch/arm/mach-s3c24xx/mach-nexcoder.c @@ -84,11 +84,7 @@ static struct s3c2410_uartcfg nexcoder_uartcfgs[] __initdata = { /* NOR Flash on NexVision NexCoder 2440 board */ static struct resource nexcoder_nor_resource[] = { - [0] = { - .start = S3C2410_CS0, - .end = S3C2410_CS0 + (8*1024*1024) - 1, - .flags = IORESOURCE_MEM, - } + [0] = DEFINE_RES_MEM(S3C2410_CS0, SZ_8M), }; static struct map_info nexcoder_nor_map = {