diff options
Diffstat (limited to 'block/blk-integrity.c')
-rw-r--r-- | block/blk-integrity.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-integrity.c b/block/blk-integrity.c index 15c630813b1c..edce1ef7933d 100644 --- a/block/blk-integrity.c +++ b/block/blk-integrity.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/mempool.h> | 24 | #include <linux/mempool.h> |
25 | #include <linux/bio.h> | 25 | #include <linux/bio.h> |
26 | #include <linux/scatterlist.h> | 26 | #include <linux/scatterlist.h> |
27 | #include <linux/slab.h> | ||
27 | 28 | ||
28 | #include "blk.h" | 29 | #include "blk.h" |
29 | 30 | ||
@@ -278,7 +279,7 @@ static struct attribute *integrity_attrs[] = { | |||
278 | NULL, | 279 | NULL, |
279 | }; | 280 | }; |
280 | 281 | ||
281 | static struct sysfs_ops integrity_ops = { | 282 | static const struct sysfs_ops integrity_ops = { |
282 | .show = &integrity_attr_show, | 283 | .show = &integrity_attr_show, |
283 | .store = &integrity_attr_store, | 284 | .store = &integrity_attr_store, |
284 | }; | 285 | }; |