#include <linux/memregion.h>
#include <linux/cpumask.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/nd.h>
#include "nd-core.h"
#include "nd.h"
static int nd_region_probe(struct device *dev)
{ … }
static int child_unregister(struct device *dev, void *data)
{ … }
static void nd_region_remove(struct device *dev)
{ … }
static int child_notify(struct device *dev, void *data)
{ … }
static void nd_region_notify(struct device *dev, enum nvdimm_event event)
{ … }
static struct nd_device_driver nd_region_driver = …;
int __init nd_region_init(void)
{ … }
void nd_region_exit(void)
{ … }
MODULE_ALIAS_ND_DEVICE(…);