summaryrefslogtreecommitdiff
path: root/drivers/dax/hmem/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/hmem/device.c')
-rw-r--r--drivers/dax/hmem/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/hmem/device.c b/drivers/dax/hmem/device.c
index 903325aac991..20749c7fab81 100644
--- a/drivers/dax/hmem/device.c
+++ b/drivers/dax/hmem/device.c
@@ -104,4 +104,4 @@ static __init int hmem_init(void)
* As this is a fallback for address ranges unclaimed by the ACPI HMAT
* parsing it must be at an initcall level greater than hmat_init().
*/
-late_initcall(hmem_init);
+device_initcall(hmem_init);