nvme: constify static attribute_group structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Fri, 8 Jan 2021 23:41:47 +0000 (00:41 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 09:26:10 +0000 (10:26 +0100)
commit60b152a50820a125336ecae26da489059fc61ce1
tree4078bf4bf8b761fa3ef97023af9bdc3f092b96f4
parent4e2f02bf77dac7b8c841f93ae5a71556d733cb04
nvme: constify static attribute_group structs

The only usage of these is to put their addresses in arrays of pointers
to const attribute_groups. Make them const to allow the compiler to put
them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/fc.c
drivers/nvme/target/fcloop.c