summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/cxl/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/cxl/main.c')
-rw-r--r--kernel/drivers/misc/cxl/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/misc/cxl/main.c b/kernel/drivers/misc/cxl/main.c
index de350dd46..9fde75ed4 100644
--- a/kernel/drivers/misc/cxl/main.c
+++ b/kernel/drivers/misc/cxl/main.c
@@ -20,7 +20,7 @@
#include <linux/idr.h>
#include <linux/pci.h>
#include <asm/cputable.h>
-#include <misc/cxl.h>
+#include <misc/cxl-base.h>
#include "cxl.h"
#include "trace.h"
@@ -222,6 +222,7 @@ static void exit_cxl(void)
cxl_debugfs_exit();
cxl_file_exit();
unregister_cxl_calls(&cxl_calls);
+ idr_destroy(&cxl_adapter_idr);
}
module_init(init_cxl);