Message ID | 161707248015.2072157.4111152670292507770.stgit@dwillia2-desk3.amr.corp.intel.com |
---|---|
State | Superseded |
Headers | show |
Series | cxl/mem: Fix memdev device setup | expand |
diff --git a/drivers/cxl/mem.c b/drivers/cxl/mem.c index 508f0dc483f2..e578e82eb33d 100644 --- a/drivers/cxl/mem.c +++ b/drivers/cxl/mem.c @@ -1210,6 +1210,7 @@ static struct cxl_memdev *cxl_memdev_alloc(struct cxl_mem *cxlm) dev->bus = &cxl_bus_type; dev->devt = MKDEV(cxl_mem_major, cxlmd->id); dev->type = &cxl_memdev_type; + device_set_pm_not_required(dev); cdev = &cxlmd->cdev; cdev_init(cdev, &cxl_memdev_fops);