linux/drivers/mtd/nand/onenand/generic.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Copyright (c) 2005 Samsung Electronics
 *  Kyungmin Park <[email protected]>
 *
 *  Overview:
 *   This is a device driver for the OneNAND flash for generic boards.
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/partitions.h>
#include <linux/io.h>

/*
 * Note: Driver name and platform data format have been updated!
 *
 * This version of the driver is named "onenand-flash" and takes struct
 * onenand_platform_data as platform data. The old ARM-specific version
 * with the name "onenand" used to take struct flash_platform_data.
 */
#define DRIVER_NAME

struct onenand_info {};

static int generic_onenand_probe(struct platform_device *pdev)
{}

static void generic_onenand_remove(struct platform_device *pdev)
{}

static struct platform_driver generic_onenand_driver =;

module_platform_driver();

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_ALIAS();