summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/dax/hmem/device.c2
-rw-r--r--drivers/dax/hmem/hmem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dax/hmem/device.c b/drivers/dax/hmem/device.c
index 991a4bf7d969..675d56276d78 100644
--- a/drivers/dax/hmem/device.c
+++ b/drivers/dax/hmem/device.c
@@ -9,7 +9,7 @@ static bool nohmem;
module_param_named(disable, nohmem, bool, 0444);
bool dax_hmem_initial_probe;
-EXPORT_SYMBOL_GPL(dax_hmem_initial_probe);
+EXPORT_SYMBOL_FOR_MODULES(dax_hmem_initial_probe, "dax_hmem");
static bool platform_initialized;
static DEFINE_MUTEX(hmem_resource_lock);
diff --git a/drivers/dax/hmem/hmem.c b/drivers/dax/hmem/hmem.c
index b2ab1292fa81..dd3d7f93baee 100644
--- a/drivers/dax/hmem/hmem.c
+++ b/drivers/dax/hmem/hmem.c
@@ -74,7 +74,7 @@ void dax_hmem_flush_work(void)
{
flush_work(&dax_hmem_work.work);
}
-EXPORT_SYMBOL_GPL(dax_hmem_flush_work);
+EXPORT_SYMBOL_FOR_MODULES(dax_hmem_flush_work, "dax_cxl");
static int __hmem_register_device(struct device *host, int target_nid,
const struct resource *res)