aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/namespace_devs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvdimm/namespace_devs.c')
-rw-r--r--drivers/nvdimm/namespace_devs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index 1ce1e70de44a..27d69bd3b4d6 100644
--- a/drivers/nvdimm/namespace_devs.c
+++ b/drivers/nvdimm/namespace_devs.c
@@ -1059,7 +1059,8 @@ static ssize_t resource_show(struct device *dev,
1059} 1059}
1060static DEVICE_ATTR_RO(resource); 1060static DEVICE_ATTR_RO(resource);
1061 1061
1062static const unsigned long ns_lbasize_supported[] = { 512, 0 }; 1062static const unsigned long ns_lbasize_supported[] = { 512, 520, 528,
1063 4096, 4104, 4160, 4224, 0 };
1063 1064
1064static ssize_t sector_size_show(struct device *dev, 1065static ssize_t sector_size_show(struct device *dev,
1065 struct device_attribute *attr, char *buf) 1066 struct device_attribute *attr, char *buf)