summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorSergio Prado <sergio.prado@e-labworks.com>2016-10-26 21:59:55 -0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-07 14:48:36 +0100
commit1c825ad1b8cfe12ccc145dcdba360c52c0272c04 (patch)
tree4a73d64b58e80632aacb51229d23412d40109f26 /include/linux/platform_data
parent7baf9a04e58ab6a79172dac7612c3c4d18dadcca (diff)
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')
-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 {