Commit 24eec601 authored by Tushar Behera's avatar Tushar Behera Committed by Kukjin Kim
Browse files

ARM: SAMSUNG: Use common macro to define resources on devs.c

parent d48b97b4
Loading
Loading
Loading
Loading
+2 −10
Original line number Original line Diff line number Diff line
@@ -272,16 +272,8 @@ struct platform_device s5p_device_fimc3 = {


#ifdef CONFIG_S5P_DEV_G2D
#ifdef CONFIG_S5P_DEV_G2D
static struct resource s5p_g2d_resource[] = {
static struct resource s5p_g2d_resource[] = {
	[0] = {
	[0] = DEFINE_RES_MEM(S5P_PA_G2D, SZ_4K),
		.start	= S5P_PA_G2D,
	[1] = DEFINE_RES_IRQ(IRQ_2D),
		.end	= S5P_PA_G2D + SZ_4K - 1,
		.flags	= IORESOURCE_MEM,
	},
	[1] = {
		.start	= IRQ_2D,
		.end	= IRQ_2D,
		.flags	= IORESOURCE_IRQ,
	},
};
};


struct platform_device s5p_device_g2d = {
struct platform_device s5p_device_g2d = {