From ee3ab9d7bf1367abeb8b312fc298ad41261540ac Mon Sep 17 00:00:00 2001 From: Tushar Behera Date: Sat, 12 May 2012 16:12:19 +0900 Subject: [PATCH] --- yaml --- r: 303085 b: refs/heads/master c: 7f9851fea7108ac6e9709e8127790eb58224c2b9 h: refs/heads/master i: 303083: 783a100a3b2f0d498c4e5c06b01fda6909e6b141 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-exynos/dev-ahci.c | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 0926a42f3a36..7f57a10e9a9b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 24eec601bd560af2f8ffe175c481cb8bcae3fec4 +refs/heads/master: 7f9851fea7108ac6e9709e8127790eb58224c2b9 diff --git a/trunk/arch/arm/mach-exynos/dev-ahci.c b/trunk/arch/arm/mach-exynos/dev-ahci.c index 50ce5b0adcf1..ce1aad3eeeb9 100644 --- a/trunk/arch/arm/mach-exynos/dev-ahci.c +++ b/trunk/arch/arm/mach-exynos/dev-ahci.c @@ -236,16 +236,8 @@ static struct ahci_platform_data exynos4_ahci_pdata = { }; static struct resource exynos4_ahci_resource[] = { - [0] = { - .start = EXYNOS4_PA_SATA, - .end = EXYNOS4_PA_SATA + SZ_64K - 1, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = EXYNOS4_IRQ_SATA, - .end = EXYNOS4_IRQ_SATA, - .flags = IORESOURCE_IRQ, - }, + [0] = DEFINE_RES_MEM(EXYNOS4_PA_SATA, SZ_64K), + [1] = DEFINE_RES_IRQ(EXYNOS4_IRQ_SATA), }; static u64 exynos4_ahci_dmamask = DMA_BIT_MASK(32);