From: Tushar Behera <tushar.behera@linaro.org> 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 <ben-linux@fluff.org> Subject: [PATCH 10/33] ARM: S3C24XX: mach-at2440evb: Use common macro to define resources Date: Wed, 25 Apr 2012 09:42:20 +0530 [thread overview] Message-ID: <1335327163-11794-11-git-send-email-tushar.behera@linaro.org> (raw) In-Reply-To: <1335327163-11794-1-git-send-email-tushar.behera@linaro.org> CC: Ben Dooks <ben-linux@fluff.org> CC: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> --- arch/arm/mach-s3c24xx/mach-at2440evb.c | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-at2440evb.c b/arch/arm/mach-s3c24xx/mach-at2440evb.c index d7ae49c..7a05abf 100644 --- a/arch/arm/mach-s3c24xx/mach-at2440evb.c +++ b/arch/arm/mach-s3c24xx/mach-at2440evb.c @@ -118,21 +118,10 @@ static struct s3c2410_platform_nand __initdata at2440evb_nand_info = { /* DM9000AEP 10/100 ethernet controller */ static struct resource at2440evb_dm9k_resource[] = { - [0] = { - .start = S3C2410_CS3, - .end = S3C2410_CS3 + 3, - .flags = IORESOURCE_MEM - }, - [1] = { - .start = S3C2410_CS3 + 4, - .end = S3C2410_CS3 + 7, - .flags = IORESOURCE_MEM - }, - [2] = { - .start = IRQ_EINT7, - .end = IRQ_EINT7, - .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, - } + [0] = DEFINE_RES_MEM(S3C2410_CS3, 4), + [1] = DEFINE_RES_MEM(S3C2410_CS3 + 4, 4), + [2] = DEFINE_RES_NAMED(IRQ_EINT7, 1, NULL, IORESOURCE_IRQ \ + | IORESOURCE_IRQ_HIGHEDGE), }; static struct dm9000_plat_data at2440evb_dm9k_pdata = { -- 1.7.4.1
WARNING: multiple messages have this Message-ID (diff)
From: tushar.behera@linaro.org (Tushar Behera) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/33] ARM: S3C24XX: mach-at2440evb: Use common macro to define resources Date: Wed, 25 Apr 2012 09:42:20 +0530 [thread overview] Message-ID: <1335327163-11794-11-git-send-email-tushar.behera@linaro.org> (raw) In-Reply-To: <1335327163-11794-1-git-send-email-tushar.behera@linaro.org> CC: Ben Dooks <ben-linux@fluff.org> CC: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> --- arch/arm/mach-s3c24xx/mach-at2440evb.c | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-at2440evb.c b/arch/arm/mach-s3c24xx/mach-at2440evb.c index d7ae49c..7a05abf 100644 --- a/arch/arm/mach-s3c24xx/mach-at2440evb.c +++ b/arch/arm/mach-s3c24xx/mach-at2440evb.c @@ -118,21 +118,10 @@ static struct s3c2410_platform_nand __initdata at2440evb_nand_info = { /* DM9000AEP 10/100 ethernet controller */ static struct resource at2440evb_dm9k_resource[] = { - [0] = { - .start = S3C2410_CS3, - .end = S3C2410_CS3 + 3, - .flags = IORESOURCE_MEM - }, - [1] = { - .start = S3C2410_CS3 + 4, - .end = S3C2410_CS3 + 7, - .flags = IORESOURCE_MEM - }, - [2] = { - .start = IRQ_EINT7, - .end = IRQ_EINT7, - .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, - } + [0] = DEFINE_RES_MEM(S3C2410_CS3, 4), + [1] = DEFINE_RES_MEM(S3C2410_CS3 + 4, 4), + [2] = DEFINE_RES_NAMED(IRQ_EINT7, 1, NULL, IORESOURCE_IRQ \ + | IORESOURCE_IRQ_HIGHEDGE), }; static struct dm9000_plat_data at2440evb_dm9k_pdata = { -- 1.7.4.1
next prev parent reply other threads:[~2012-04-25 4:22 UTC|newest] Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-25 4:12 [PATCH 00/33] Use common macro to define resources Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 01/33] ARM: SAMSUNG: devs: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 02/33] ARM: EXYNOS: dev-ahci: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 03/33] ARM: EXYNOS: dev-audio: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 04/33] ARM: EXYNOS: mach-armlex4210: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 05/33] ARM: EXYNOS: mach-smdkv310: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 06/33] ARM: S3C24XX: dev-uart: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 9:13 ` Heiko Stübner 2012-04-25 9:13 ` Heiko Stübner 2012-05-08 18:40 ` [PATCH v2 " Heiko Stübner 2012-05-08 18:40 ` Heiko Stübner 2012-05-09 12:44 ` Kukjin Kim 2012-05-09 12:44 ` Kukjin Kim 2012-04-25 4:12 ` [PATCH 07/33] ARM: S3C24XX: bast-ide: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 08/33] ARM: S3C24XX: mach-amlm5900: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 09/33] ARM: S3C24XX: mach-anubis: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` Tushar Behera [this message] 2012-04-25 4:12 ` [PATCH 10/33] ARM: S3C24XX: mach-at2440evb: " Tushar Behera 2012-04-25 4:12 ` [PATCH 11/33] ARM: S3C24XX: mach-bast: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 12/33] ARM: S3C24XX: mach-gta02: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 13/33] ARM: S3C24XX: mach-h1940: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 14/33] ARM: S3C24XX: mach-mini2440: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 15/33] ARM: S3C24XX: mach-nexcoder: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 16/33] ARM: S3C24XX: mach-osiris: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 16:53 ` Sergei Shtylyov 2012-04-25 16:53 ` Sergei Shtylyov 2012-04-26 3:22 ` Tushar Behera 2012-04-26 3:22 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 17/33] ARM: S3C24XX: mach-otom: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 18/33] ARM: S3C24XX: mach-qt2410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 16:51 ` Sergei Shtylyov 2012-04-25 16:51 ` Sergei Shtylyov 2012-04-26 3:19 ` Tushar Behera 2012-04-26 3:19 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 19/33] ARM: S3C24XX: mach-rx1950: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 20/33] ARM: S3C24XX: mach-tct_hammer: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 21/33] ARM: S3C24XX: mach-vr1000: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 22/33] ARM: S3C24XX: simtec-nor: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 23/33] ARM: S3C64XX: dev-audio: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 24/33] ARM: S3C64XX: dev-uart: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 25/33] ARM: S3C64XX: mach-anw6410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 26/33] ARM: S3C64XX: mach-crag6410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 8:24 ` Mark Brown 2012-04-25 8:24 ` Mark Brown 2012-04-25 4:12 ` [PATCH 27/33] ARM: S3C64XX: mach-mini6410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 28/33] ARM: S3C64XX: mach-real6410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 29/33] ARM: S3C64XX: mach-smdk6410: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 30/33] ARM: S5P64X0: dev-audio: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 31/33] ARM: S5PC100: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 32/33] ARM: S5PV210: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:12 ` [PATCH 33/33] ARM: S5PV210: mach-smdkv210: " Tushar Behera 2012-04-25 4:12 ` Tushar Behera 2012-04-25 4:19 ` [PATCH 00/33] " Jean-Christophe PLAGNIOL-VILLARD 2012-04-25 4:19 ` Jean-Christophe PLAGNIOL-VILLARD 2012-04-25 7:38 ` Heiko Stübner 2012-04-25 7:38 ` Heiko Stübner 2012-04-25 10:10 ` Jean-Christophe PLAGNIOL-VILLARD 2012-04-25 10:10 ` Jean-Christophe PLAGNIOL-VILLARD 2012-04-25 11:21 ` Arnd Bergmann 2012-04-25 11:21 ` Arnd Bergmann 2012-04-25 11:35 ` Russell King - ARM Linux 2012-04-25 11:35 ` Russell King - ARM Linux 2012-04-26 3:53 ` Tushar Behera 2012-04-26 3:53 ` Tushar Behera 2012-05-09 12:55 ` Kukjin Kim 2012-05-09 12:55 ` Kukjin Kim
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1335327163-11794-11-git-send-email-tushar.behera@linaro.org \ --to=tushar.behera@linaro.org \ --cc=ben-linux@fluff.org \ --cc=kgene.kim@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=patches@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.