pinctrl: mark const init data with __initconst instead of __initdata
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Documentation / pinctrl.txt
index f2e27ef8e1b3b05f86576005352886a4bc74ad4f..2d88b3c7b61cd671154016c2a2649c4a29277dd7 100644 (file)
@@ -786,7 +786,7 @@ and spi on the second function mapping:
 
 #include <linux/pinctrl/machine.h>
 
-static const struct pinctrl_map __initdata mapping[] = {
+static const struct pinctrl_map mapping[] __initconst = {
        {
                .dev_name = "foo-spi.0",
                .name = PINCTRL_STATE_DEFAULT,