summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mtd-nand-s3c2410.h
diff options
context:
space:
mode:
authorSergio Prado <sergio.prado@e-labworks.com>2016-10-27 02:59:55 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-07 16:48:36 +0300
commit1c825ad1b8cfe12ccc145dcdba360c52c0272c04 (patch)
tree4a73d64b58e80632aacb51229d23412d40109f26 /include/linux/platform_data/mtd-nand-s3c2410.h
parent7baf9a04e58ab6a79172dac7612c3c4d18dadcca (diff)
downloadlinux-1c825ad1b8cfe12ccc145dcdba360c52c0272c04.tar.xz
mtd: s3c2410: parse the device configuration from OF node
Allows configuring Samsung's s3c2410 memory controller using a devicetree. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data/mtd-nand-s3c2410.h')
-rw-r--r--include/linux/platform_data/mtd-nand-s3c2410.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mtd-nand-s3c2410.h b/include/linux/platform_data/mtd-nand-s3c2410.h
index 729af13d1773..f01659026b26 100644
--- a/include/linux/platform_data/mtd-nand-s3c2410.h
+++ b/include/linux/platform_data/mtd-nand-s3c2410.h
@@ -40,6 +40,7 @@ struct s3c2410_nand_set {
char *name;
int *nr_map;
struct mtd_partition *partitions;
+ struct device_node *of_node;
};
struct s3c2410_platform_nand {