Skip to content

Commit

Permalink
ARM: EXYNOS: Use common macro to define resources on dev-ahci.c
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Tushar Behera authored and Kukjin Kim committed May 12, 2012
1 parent 24eec60 commit 7f9851f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions arch/arm/mach-exynos/dev-ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f9851f

Please sign in to comment.