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