linux/drivers/dax/hmem/hmem.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/platform_device.h>
#include <linux/memregion.h>
#include <linux/module.h>
#include <linux/pfn_t.h>
#include <linux/dax.h>
#include "../bus.h"

static bool region_idle;
module_param_named(region_idle, region_idle, bool, 0644);

static int dax_hmem_probe(struct platform_device *pdev)
{}

static struct platform_driver dax_hmem_driver =;

static void release_memregion(void *data)
{}

static void release_hmem(void *pdev)
{}

static int hmem_register_device(struct device *host, int target_nid,
				const struct resource *res)
{}

static int dax_hmem_platform_probe(struct platform_device *pdev)
{}

static struct platform_driver dax_hmem_platform_driver =;

static __init int dax_hmem_init(void)
{}

static __exit void dax_hmem_exit(void)
{}

module_init();
module_exit(dax_hmem_exit);

/* Allow for CXL to define its own dax regions */
#if IS_ENABLED(CONFIG_CXL_REGION)
#if IS_MODULE(CONFIG_CXL_ACPI)
MODULE_SOFTDEP("pre: cxl_acpi");
#endif
#endif

MODULE_ALIAS();
MODULE_ALIAS();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_AUTHOR();