ARM: S3C24XX: Use common macro to define resources on mach-mini2440.c
Cc: Michel Pollet <buserror@gmail.com> 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:
parent
635a472675
commit
7498b72870
|
@ -292,21 +292,10 @@ static struct s3c2410_platform_nand mini2440_nand_info __initdata = {
|
||||||
/* DM9000AEP 10/100 ethernet controller */
|
/* DM9000AEP 10/100 ethernet controller */
|
||||||
|
|
||||||
static struct resource mini2440_dm9k_resource[] = {
|
static struct resource mini2440_dm9k_resource[] = {
|
||||||
[0] = {
|
[0] = DEFINE_RES_MEM(MACH_MINI2440_DM9K_BASE, 4),
|
||||||
.start = MACH_MINI2440_DM9K_BASE,
|
[1] = DEFINE_RES_MEM(MACH_MINI2440_DM9K_BASE + 4, 4),
|
||||||
.end = MACH_MINI2440_DM9K_BASE + 3,
|
[2] = DEFINE_RES_NAMED(IRQ_EINT7, 1, NULL, IORESOURCE_IRQ \
|
||||||
.flags = IORESOURCE_MEM
|
| IORESOURCE_IRQ_HIGHEDGE),
|
||||||
},
|
|
||||||
[1] = {
|
|
||||||
.start = MACH_MINI2440_DM9K_BASE + 4,
|
|
||||||
.end = MACH_MINI2440_DM9K_BASE + 7,
|
|
||||||
.flags = IORESOURCE_MEM
|
|
||||||
},
|
|
||||||
[2] = {
|
|
||||||
.start = IRQ_EINT7,
|
|
||||||
.end = IRQ_EINT7,
|
|
||||||
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue