Merge tag 'pci-v4.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[sfrench/cifs-2.6.git] / include / linux / mtd / nand-gpio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_MTD_NAND_GPIO_H
3 #define __LINUX_MTD_NAND_GPIO_H
4
5 #include <linux/mtd/rawnand.h>
6
7 struct gpio_nand_platdata {
8         int     gpio_nce;
9         int     gpio_nwp;
10         int     gpio_cle;
11         int     gpio_ale;
12         int     gpio_rdy;
13         void    (*adjust_parts)(struct gpio_nand_platdata *, size_t);
14         struct mtd_partition *parts;
15         unsigned int num_parts;
16         unsigned int options;
17         int     chip_delay;
18 };
19
20 #endif