summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/cxl/of.c')
-rw-r--r--drivers/misc/cxl/of.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/cxl/of.c b/drivers/misc/cxl/of.c
index cf6bd8a43056..e26ee85279fa 100644
--- a/drivers/misc/cxl/of.c
+++ b/drivers/misc/cxl/of.c
@@ -295,6 +295,8 @@ int cxl_of_probe(struct platform_device *pdev)
int ret;
int slice = 0, slice_ok = 0;
+ dev_err_once(&pdev->dev, "DEPRECATION: cxl is deprecated and will be removed in a future kernel release\n");
+
pr_devel("in %s\n", __func__);
np = pdev->dev.of_node;