Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f3b90dc authored by Tushar Behera's avatar Tushar Behera Committed by Kukjin Kim
Browse files

ARM: S3C24XX: Use common macro to define resources on mach-rx1950.c



Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarTushar Behera <tushar.behera@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent e21be38a
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -152,13 +152,8 @@ static struct pda_power_pdata power_supply_info = {
};

static struct resource power_supply_resources[] = {
	[0] = {
			.name	= "ac",
			.flags	= IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE |
					  IORESOURCE_IRQ_HIGHEDGE,
			.start	= IRQ_EINT2,
			.end	= IRQ_EINT2,
	},
	[0] = DEFINE_RES_NAMED(IRQ_EINT2, 1, "ac", IORESOURCE_IRQ \
			| IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE),
};

static struct platform_device power_supply = {