diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:19 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:19 -0400 |
commit | 7f9851fea7108ac6e9709e8127790eb58224c2b9 (patch) | |
tree | ad6b45522c5c84f26b2ecdf736ea9a6da2727d9c | |
parent | 24eec601bd560af2f8ffe175c481cb8bcae3fec4 (diff) |
ARM: EXYNOS: Use common macro to define resources on dev-ahci.c
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-exynos/dev-ahci.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-exynos/dev-ahci.c b/arch/arm/mach-exynos/dev-ahci.c index 50ce5b0adcf1..ce1aad3eeeb9 100644 --- a/arch/arm/mach-exynos/dev-ahci.c +++ b/arch/arm/mach-exynos/dev-ahci.c | |||
@@ -236,16 +236,8 @@ static struct ahci_platform_data exynos4_ahci_pdata = { | |||
236 | }; | 236 | }; |
237 | 237 | ||
238 | static struct resource exynos4_ahci_resource[] = { | 238 | static struct resource exynos4_ahci_resource[] = { |
239 | [0] = { | 239 | [0] = DEFINE_RES_MEM(EXYNOS4_PA_SATA, SZ_64K), |
240 | .start = EXYNOS4_PA_SATA, | 240 | [1] = DEFINE_RES_IRQ(EXYNOS4_IRQ_SATA), |
241 | .end = EXYNOS4_PA_SATA + SZ_64K - 1, | ||
242 | .flags = IORESOURCE_MEM, | ||
243 | }, | ||
244 | [1] = { | ||
245 | .start = EXYNOS4_IRQ_SATA, | ||
246 | .end = EXYNOS4_IRQ_SATA, | ||
247 | .flags = IORESOURCE_IRQ, | ||
248 | }, | ||
249 | }; | 241 | }; |
250 | 242 | ||
251 | static u64 exynos4_ahci_dmamask = DMA_BIT_MASK(32); | 243 | static u64 exynos4_ahci_dmamask = DMA_BIT_MASK(32); |