mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
db298da2c3
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>
17 lines
322 B
C
17 lines
322 B
C
#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 */
|