OMAP3 SRF: Generic shared resource f/w
[linux-ginger.git] / arch / arm / plat-s3c / dev-nand.c
blob4e532373243486f959d9b432310f7c96f97d0f44
1 /*
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.
7 */
9 #include <linux/kernel.h>
10 #include <linux/platform_device.h>
12 #include <mach/map.h>
13 #include <plat/devs.h>
15 static struct resource s3c_nand_resource[] = {
16 [0] = {
17 .start = S3C_PA_NAND,
18 .end = S3C_PA_NAND + SZ_1M,
19 .flags = IORESOURCE_MEM,
23 struct platform_device s3c_device_nand = {
24 .name = "s3c2410-nand",
25 .id = -1,
26 .num_resources = ARRAY_SIZE(s3c_nand_resource),
27 .resource = s3c_nand_resource,
30 EXPORT_SYMBOL(s3c_device_nand);