linux/drivers/net/ethernet/sfc/siena/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_efx_mtd_partition(mtd)

/* MTD interface */

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

static void efx_mtd_sync(struct mtd_info *mtd)
{}

static void efx_siena_mtd_remove_partition(struct efx_mtd_partition *part)
{}

int efx_siena_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
		      size_t n_parts, size_t sizeof_part)
{}

void efx_siena_mtd_remove(struct efx_nic *efx)
{}

void efx_siena_mtd_rename(struct efx_nic *efx)
{}