mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
23 lines
517 B
C
23 lines
517 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SharpSL NAND support
|
|
*
|
|
* Copyright (C) 2008 Dmitry Baryshkov
|
|
*/
|
|
|
|
#ifndef _MTD_SHARPSL_H
|
|
#define _MTD_SHARPSL_H
|
|
|
|
#include <linux/mtd/rawnand.h>
|
|
#include <linux/mtd/nand_ecc.h>
|
|
#include <linux/mtd/partitions.h>
|
|
|
|
struct sharpsl_nand_platform_data {
|
|
struct nand_bbt_descr *badblock_pattern;
|
|
const struct mtd_ooblayout_ops *ecc_layout;
|
|
struct mtd_partition *partitions;
|
|
unsigned int nr_partitions;
|
|
const char *const *part_parsers;
|
|
};
|
|
|
|
#endif /* _MTD_SHARPSL_H */
|