#include <linux/mtd/spi-nor.h>
#include "core.h"
#define SST_WRITE …
#define SST26VF_CR_BPNV …
static int sst26vf_nor_lock(struct spi_nor *nor, loff_t ofs, u64 len)
{ … }
static int sst26vf_nor_unlock(struct spi_nor *nor, loff_t ofs, u64 len)
{ … }
static int sst26vf_nor_is_locked(struct spi_nor *nor, loff_t ofs, u64 len)
{ … }
static const struct spi_nor_locking_ops sst26vf_nor_locking_ops = …;
static int sst26vf_nor_late_init(struct spi_nor *nor)
{ … }
static const struct spi_nor_fixups sst26vf_nor_fixups = …;
static const struct flash_info sst_nor_parts[] = …;
static int sst_nor_write(struct mtd_info *mtd, loff_t to, size_t len,
size_t *retlen, const u_char *buf)
{ … }
static int sst_nor_late_init(struct spi_nor *nor)
{ … }
static const struct spi_nor_fixups sst_nor_fixups = …;
const struct spi_nor_manufacturer spi_nor_sst = …;