Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Mike Rapoport | aaf7ea2 | 2008-10-15 08:38:49 +0200 | [diff] [blame] | 2 | #ifndef __LINUX_MTD_NAND_GPIO_H |
| 3 | #define __LINUX_MTD_NAND_GPIO_H |
| 4 | |
Boris Brezillon | d4092d7 | 2017-08-04 17:29:10 +0200 | [diff] [blame] | 5 | #include <linux/mtd/rawnand.h> |
Mike Rapoport | aaf7ea2 | 2008-10-15 08:38:49 +0200 | [diff] [blame] | 6 | |
| 7 | struct gpio_nand_platdata { |
Mike Rapoport | aaf7ea2 | 2008-10-15 08:38:49 +0200 | [diff] [blame] | 8 | void (*adjust_parts)(struct gpio_nand_platdata *, size_t); |
| 9 | struct mtd_partition *parts; |
| 10 | unsigned int num_parts; |
| 11 | unsigned int options; |
| 12 | int chip_delay; |
| 13 | }; |
| 14 | |
| 15 | #endif |