Commit eb090c4c authored by Bart Van Assche's avatar Bart Van Assche Committed by Christoph Hellwig

nvme-core: declare local symbols static

This patch avoids that sparse complains about missing declarations.
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 35da77d5
...@@ -2729,7 +2729,7 @@ static umode_t nvme_ns_id_attrs_are_visible(struct kobject *kobj, ...@@ -2729,7 +2729,7 @@ static umode_t nvme_ns_id_attrs_are_visible(struct kobject *kobj,
return a->mode; return a->mode;
} }
const struct attribute_group nvme_ns_id_attr_group = { static const struct attribute_group nvme_ns_id_attr_group = {
.attrs = nvme_ns_id_attrs, .attrs = nvme_ns_id_attrs,
.is_visible = nvme_ns_id_attrs_are_visible, .is_visible = nvme_ns_id_attrs_are_visible,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment