ARM: S3C24XX: Use common macro to define resources on mach-h1940.c
Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Родитель
1c2bf1d326
Коммит
635a472675
|
@ -253,13 +253,8 @@ static struct pda_power_pdata power_supply_info = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource power_supply_resources[] = {
|
static struct resource power_supply_resources[] = {
|
||||||
[0] = {
|
[0] = DEFINE_RES_NAMED(IRQ_EINT2, 1, "ac", IORESOURCE_IRQ \
|
||||||
.name = "ac",
|
| IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE),
|
||||||
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE |
|
|
||||||
IORESOURCE_IRQ_HIGHEDGE,
|
|
||||||
.start = IRQ_EINT2,
|
|
||||||
.end = IRQ_EINT2,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device power_supply = {
|
static struct platform_device power_supply = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче