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 | 24eec601bd560af2f8ffe175c481cb8bcae3fec4 (patch) | |
tree | 86b88be3e3354bf82904b6eeac3ef1b2287bba53 /arch | |
parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) |
ARM: SAMSUNG: Use common macro to define resources on devs.c
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 8b928f9bc1c3..c36014d2fd2a 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c | |||
@@ -272,16 +272,8 @@ struct platform_device s5p_device_fimc3 = { | |||
272 | 272 | ||
273 | #ifdef CONFIG_S5P_DEV_G2D | 273 | #ifdef CONFIG_S5P_DEV_G2D |
274 | static struct resource s5p_g2d_resource[] = { | 274 | static struct resource s5p_g2d_resource[] = { |
275 | [0] = { | 275 | [0] = DEFINE_RES_MEM(S5P_PA_G2D, SZ_4K), |
276 | .start = S5P_PA_G2D, | 276 | [1] = DEFINE_RES_IRQ(IRQ_2D), |
277 | .end = S5P_PA_G2D + SZ_4K - 1, | ||
278 | .flags = IORESOURCE_MEM, | ||
279 | }, | ||
280 | [1] = { | ||
281 | .start = IRQ_2D, | ||
282 | .end = IRQ_2D, | ||
283 | .flags = IORESOURCE_IRQ, | ||
284 | }, | ||
285 | }; | 277 | }; |
286 | 278 | ||
287 | struct platform_device s5p_device_g2d = { | 279 | struct platform_device s5p_device_g2d = { |