mtd: fsmc: use ALE and CLE offsets from platform data
authorShiraz Hashim <shiraz.hashim@st.com>
Wed, 7 Mar 2012 11:30:51 +0000 (17:00 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:45:55 +0000 (00:45 +0100)
commitb2acc92e144336dd29e30dc5d26439355be750b6
tree8ecb61eb7f43e30d755b09a5d5ff34299f693612
parente29ee57b1d33abf119cb332a3d8fa69c9cd39096
mtd: fsmc: use ALE and CLE offsets from platform data

ALE and CLE offsets can be different on different devices. Let devices
pass these offsets to the fsmc driver through platform data.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c
include/linux/mtd/fsmc.h