#include <linux/device.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/nvmem-provider.h>
#include <linux/platform_device.h>
struct qoriq_efuse_priv { … };
static int qoriq_efuse_read(void *context, unsigned int offset, void *val,
size_t bytes)
{ … }
static int qoriq_efuse_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id qoriq_efuse_of_match[] = …;
MODULE_DEVICE_TABLE(of, qoriq_efuse_of_match);
static struct platform_driver qoriq_efuse_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;