linux/drivers/net/ethernet/sfc/falcon/mtd.c

// SPDX-License-Identifier: GPL-2.0-only
/****************************************************************************
 * Driver for Solarflare network controllers and boards
 * Copyright 2005-2006 Fen Systems Ltd.
 * Copyright 2006-2013 Solarflare Communications Inc.
 */

#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>

#include "net_driver.h"
#include "efx.h"

#define to_ef4_mtd_partition(mtd)

/* MTD interface */

static int ef4_mtd_erase(struct mtd_info *mtd, struct erase_info *erase)
{}

static void ef4_mtd_sync(struct mtd_info *mtd)
{}

static void ef4_mtd_remove_partition(struct ef4_mtd_partition *part)
{}

int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts,
		size_t n_parts, size_t sizeof_part)
{}

void ef4_mtd_remove(struct ef4_nic *efx)
{}

void ef4_mtd_rename(struct ef4_nic *efx)
{}