2 * S3C series device definition for nand device
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <linux/kernel.h>
10 #include <linux/platform_device.h>
13 #include <plat/devs.h>
15 static struct resource s3c_nand_resource
[] = {
18 .end
= S3C_PA_NAND
+ SZ_1M
,
19 .flags
= IORESOURCE_MEM
,
23 struct platform_device s3c_device_nand
= {
24 .name
= "s3c2410-nand",
26 .num_resources
= ARRAY_SIZE(s3c_nand_resource
),
27 .resource
= s3c_nand_resource
,
30 EXPORT_SYMBOL(s3c_device_nand
);