diff options
Diffstat (limited to 'drivers/misc/cxl/sysfs.c')
-rw-r--r-- | drivers/misc/cxl/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cxl/sysfs.c b/drivers/misc/cxl/sysfs.c index 300eafe4ed43..1a1409cb1652 100644 --- a/drivers/misc/cxl/sysfs.c +++ b/drivers/misc/cxl/sysfs.c | |||
@@ -165,7 +165,7 @@ static ssize_t pp_mmio_off_show(struct device *device, | |||
165 | { | 165 | { |
166 | struct cxl_afu *afu = to_afu_chardev_m(device); | 166 | struct cxl_afu *afu = to_afu_chardev_m(device); |
167 | 167 | ||
168 | return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->pp_offset); | 168 | return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->native->pp_offset); |
169 | } | 169 | } |
170 | 170 | ||
171 | static ssize_t pp_mmio_len_show(struct device *device, | 171 | static ssize_t pp_mmio_len_show(struct device *device, |