summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-25 17:42:59 +0100
committerArnd Bergmann <arnd@arndb.de>2014-02-25 17:43:20 +0100
commit8c4a57bcd80532c4fef5f87d0c53be25718294ed (patch)
tree56e21b6d7201bac111162d0888aa4334051255d8 /include/linux/platform_data
parentb5feaefb45e878a6a4900925e5bdae9b73257616 (diff)
parent67f5185cad24b3c3d9ab07508dfcab55cdab02de (diff)
downloadblackbird-op-linux-8c4a57bcd80532c4fef5f87d0c53be25718294ed.tar.gz
blackbird-op-linux-8c4a57bcd80532c4fef5f87d0c53be25718294ed.zip
Merge tag 'davinci-for-v3.15/nand' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/drivers
A patch to break dependency of DaVinci NAND driver with mach-davinci. Required for reuse of driver on other platforms (keystone). * tag 'davinci-for-v3.15/nand' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci: ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/mtd-davinci-aemif.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/platform_data/mtd-davinci-aemif.h b/include/linux/platform_data/mtd-davinci-aemif.h
index 05b293443097..97948ac2bb9b 100644
--- a/include/linux/platform_data/mtd-davinci-aemif.h
+++ b/include/linux/platform_data/mtd-davinci-aemif.h
@@ -10,6 +10,8 @@
#ifndef _MACH_DAVINCI_AEMIF_H
#define _MACH_DAVINCI_AEMIF_H
+#include <linux/platform_device.h>
+
#define NRCSR_OFFSET 0x00
#define AWCCR_OFFSET 0x04
#define A1CR_OFFSET 0x10
@@ -31,6 +33,5 @@ struct davinci_aemif_timing {
u8 ta;
};
-int davinci_aemif_setup_timing(struct davinci_aemif_timing *t,
- void __iomem *base, unsigned cs);
+int davinci_aemif_setup(struct platform_device *pdev);
#endif
OpenPOWER on IntegriCloud