// SPDX-License-Identifier: GPL-2.0-only /* * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. */ #include <linux/vmalloc.h> #include <linux/module.h> #include <linux/device.h> #include <linux/sizes.h> #include <linux/ndctl.h> #include <linux/slab.h> #include <linux/mm.h> #include <linux/nd.h> #include "label.h" #include "nd.h" static int nvdimm_probe(struct device *dev) { … } static void nvdimm_remove(struct device *dev) { … } static struct nd_device_driver nvdimm_driver = …; int __init nvdimm_init(void) { … } void nvdimm_exit(void) { … } MODULE_ALIAS_ND_DEVICE(…);