diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-08-24 17:19:33 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 13:19:00 +0400 |
commit | db298da2c31e1dcf7c9b7c9cef6217ad3449ebb7 (patch) | |
tree | 4637bf40930d34bc277769b1452ba1f71f13f015 /include/linux/platform_data/mtd-nomadik-nand.h | |
parent | 54ecf4f05637183ffd0ac98f906e45e271030a55 (diff) | |
download | linux-db298da2c31e1dcf7c9b7c9cef6217ad3449ebb7.tar.xz |
ARM: nomadik: move platform_data definitions
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.
This moves such data out of the nomadik include directories
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Andreas Westin <andreas.westin@stericsson.com>
Diffstat (limited to 'include/linux/platform_data/mtd-nomadik-nand.h')
-rw-r--r-- | include/linux/platform_data/mtd-nomadik-nand.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/mtd-nomadik-nand.h b/include/linux/platform_data/mtd-nomadik-nand.h new file mode 100644 index 000000000000..c3c8254c22a5 --- /dev/null +++ b/include/linux/platform_data/mtd-nomadik-nand.h @@ -0,0 +1,16 @@ +#ifndef __ASM_ARCH_NAND_H +#define __ASM_ARCH_NAND_H + +struct nomadik_nand_platform_data { + struct mtd_partition *parts; + int nparts; + int options; + int (*init) (void); + int (*exit) (void); +}; + +#define NAND_IO_DATA 0x40000000 +#define NAND_IO_CMD 0x40800000 +#define NAND_IO_ADDR 0x41000000 + +#endif /* __ASM_ARCH_NAND_H */ |