ARM: S3C24XX: Use common macro to define resources on mach-osiris.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:
parent
b6e059417d
commit
5ff2714ae0
1 changed files with 2 additions and 10 deletions
|
@ -244,16 +244,8 @@ static struct s3c2410_platform_nand __initdata osiris_nand_info = {
|
||||||
/* PCMCIA control and configuration */
|
/* PCMCIA control and configuration */
|
||||||
|
|
||||||
static struct resource osiris_pcmcia_resource[] = {
|
static struct resource osiris_pcmcia_resource[] = {
|
||||||
[0] = {
|
[0] = DEFINE_RES_MEM(0x0f000000, SZ_1M),
|
||||||
.start = 0x0f000000,
|
[1] = DEFINE_RES_MEM(0x0c000000, SZ_1M),
|
||||||
.end = 0x0f100000,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
},
|
|
||||||
[1] = {
|
|
||||||
.start = 0x0c000000,
|
|
||||||
.end = 0x0c100000,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device osiris_pcmcia = {
|
static struct platform_device osiris_pcmcia = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue