From patchwork Wed Apr 25 04:12:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 8116 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 46BDE23E13 for ; Wed, 25 Apr 2012 04:23:16 +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 026C3A185F9 for ; Wed, 25 Apr 2012 04:23:15 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so2775712iag.11 for ; Tue, 24 Apr 2012 21:23:15 -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=4WKobb1WBGpyndWW+bAM0X9WH/zhVL7AZE742ObAVHo=; b=kTAZd+sPTYllJzgTV65Zy61J3WwYMbIWM72msOjs6p9etHMGZQrtYq8qP1XX8AIcW6 IZ6swhdEQjTMu2L93Ow4pxRxZkw/jpLzvbys2FU2i9ECps8wPh3teKokaSd8oNEp0KT0 f/r3ogXSC2plM0Mw3sl6flfYTDkxOMNCaAAzHQPeYQym4uO1INVDfxpfxRPzvPEaK6SJ fcEx73u3IwqpLgwOvoeLeo7xLWKeGmJatfMiSFTuy450lCnW0Tlc4bTeLsD+XncU1N8u X1STUVXgERHBCLMVC6uA8uKy28Gy0UJZfzYnIr3iOdV1fYz/NtjwFMnEjzYyvLTa2MdL u9qQ== Received: by 10.50.41.201 with SMTP id h9mr12678077igl.19.1335327795793; Tue, 24 Apr 2012 21:23:15 -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 x6csp231223ibt; Tue, 24 Apr 2012 21:23:15 -0700 (PDT) Received: by 10.68.232.8 with SMTP id tk8mr4322828pbc.25.1335327795129; Tue, 24 Apr 2012 21:23:15 -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.23.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 21:23:15 -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:23:14 -0700 (PDT) Received: by 10.68.216.167 with SMTP id or7mr3997613pbc.140.1335327794876; Tue, 24 Apr 2012 21:23:14 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pv9sm9954480pbc.37.2012.04.24.21.23.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 21:23:14 -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, Ben Dooks Subject: [PATCH 18/33] ARM: S3C24XX: mach-qt2410: Use common macro to define resources Date: Wed, 25 Apr 2012 09:42:28 +0530 Message-Id: <1335327163-11794-19-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: ALoCoQnWDDTiyHhL1UsQi7B+rjmDNIzwxLFX23CeS/Xr8oRP1f+MVdSax6gRXdZtXq9e6ywzjX6J CC: Ben Dooks CC: Kukjin Kim Signed-off-by: Tushar Behera --- arch/arm/mach-s3c24xx/mach-qt2410.c | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 91c16d9..b868ddd 100644 --- a/arch/arm/mach-s3c24xx/mach-qt2410.c +++ b/arch/arm/mach-s3c24xx/mach-qt2410.c @@ -180,16 +180,8 @@ static struct s3c2410fb_mach_info qt2410_fb_info __initdata = { /* CS8900 */ static struct resource qt2410_cs89x0_resources[] = { - [0] = { - .start = 0x19000000, - .end = 0x19000000 + 16, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = IRQ_EINT9, - .end = IRQ_EINT9, - .flags = IORESOURCE_IRQ, - }, + [0] = DEFINE_RES_MEM(0x19000000, 17), + [1] = DEFINE_RES_IRQ(IRQ_EINT9), }; static struct platform_device qt2410_cs89x0 = {