f2fs: give some messages for inline_xattr_size
[platform/kernel/linux-starfive.git] / drivers / fpga / of-fpga-region.c
index 122286f..75f64ab 100644 (file)
@@ -421,7 +421,7 @@ static int of_fpga_region_probe(struct platform_device *pdev)
                goto eprobe_mgr_put;
 
        of_platform_populate(np, fpga_region_of_match, NULL, &region->dev);
-       dev_set_drvdata(dev, region);
+       platform_set_drvdata(pdev, region);
 
        dev_info(dev, "FPGA Region probed\n");