summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-03-16 10:19:31 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 02:01:07 +0200
commiteea628199d5b12429c47db17035a954b0062e554 (patch)
treeea2ddcd6df17d3c459f7d40477d06ddbc96abc7d /include
parentmtd: fix section mismatch for doc_probe_device (diff)
downloadlinux-eea628199d5b12429c47db17035a954b0062e554.tar.xz
linux-eea628199d5b12429c47db17035a954b0062e554.zip
mtd: Add device-tree support to fsmc_nand
This patch adds support to configure the FSMC NAND driver (used amongst others on SPEAr platforms) via device-tree instead of platform_data. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/fsmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/fsmc.h b/include/linux/mtd/fsmc.h
index 823359c0f5a1..b20029221fb1 100644
--- a/include/linux/mtd/fsmc.h
+++ b/include/linux/mtd/fsmc.h
@@ -156,8 +156,8 @@ struct fsmc_nand_platform_data {
unsigned int bank;
/* CLE, ALE offsets */
- unsigned long cle_off;
- unsigned long ale_off;
+ unsigned int cle_off;
+ unsigned int ale_off;
enum access_mode mode;
void (*select_bank)(uint32_t bank, uint32_t busw);