1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_MTD_NAND_GPIO_H
3 #define __LINUX_MTD_NAND_GPIO_H
5 #include <linux/mtd/rawnand.h>
7 struct gpio_nand_platdata
{
8 void (*adjust_parts
)(struct gpio_nand_platdata
*, size_t);
9 struct mtd_partition
*parts
;
10 unsigned int num_parts
;