/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2006 Micron Technology Inc. */ #ifndef _MTD_NAND_OMAP2_H #define _MTD_NAND_OMAP2_H #include <linux/mtd/partitions.h> #include <linux/mod_devicetable.h> #define GPMC_BCH_NUM_REMAINDER … enum nand_io { … }; enum omap_ecc { … }; struct gpmc_nand_regs { … }; static const struct of_device_id omap_nand_ids[] = …; #endif /* _MTD_NAND_OMAP2_H */