#include <linux/mfd/tps65086.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
static int tps65086_restart_notify(struct sys_off_data *data)
{ … }
static int tps65086_restart_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id tps65086_restart_id_table[] = …;
MODULE_DEVICE_TABLE(platform, tps65086_restart_id_table);
static struct platform_driver tps65086_restart_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;