Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93fc9167 authored by Andi Kleen's avatar Andi Kleen Committed by Mike Snitzer
Browse files

dm init: fix const confusion for dm_allowed_targets array



A non const pointer to const cannot be marked initconst.
Mark the array actually const.

Fixes: 6bbc923d dm: add support to directly boot to a mapped device
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 5efedc9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ struct dm_device {
	struct list_head list;
};

const char *dm_allowed_targets[] __initconst = {
const char * const dm_allowed_targets[] __initconst = {
	"crypt",
	"delay",
	"linear",