Message ID | 161728761025.2474381.808344500111924819.stgit@dwillia2-desk3.amr.corp.intel.com |
---|---|
State | Accepted |
Commit | 7eda6457a9ca4dc9754e1158c3794e4487ea4392 |
Headers | show |
Series | cxl/mem: Fix memdev device setup | expand |
diff --git a/drivers/cxl/mem.c b/drivers/cxl/mem.c index e59b373694d3..e3003f49b329 100644 --- a/drivers/cxl/mem.c +++ b/drivers/cxl/mem.c @@ -1203,6 +1203,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);