diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pinctrl.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt index 3846264c5973..c8fd136eac83 100644 --- a/Documentation/pinctrl.txt +++ b/Documentation/pinctrl.txt | |||
@@ -697,7 +697,7 @@ spi on the second function mapping: | |||
697 | 697 | ||
698 | #include <linux/pinctrl/machine.h> | 698 | #include <linux/pinctrl/machine.h> |
699 | 699 | ||
700 | static const struct pinmux_map pmx_mapping[] = { | 700 | static const struct pinmux_map __initdata pmx_mapping[] = { |
701 | { | 701 | { |
702 | .ctrl_dev_name = "pinctrl.0", | 702 | .ctrl_dev_name = "pinctrl.0", |
703 | .function = "spi0", | 703 | .function = "spi0", |
@@ -734,7 +734,7 @@ Since the above construct is pretty common there is a helper macro to make | |||
734 | it even more compact which assumes you want to use pinctrl.0 and position | 734 | it even more compact which assumes you want to use pinctrl.0 and position |
735 | 0 for mapping, for example: | 735 | 0 for mapping, for example: |
736 | 736 | ||
737 | static struct pinmux_map pmx_mapping[] = { | 737 | static struct pinmux_map __initdata pmx_mapping[] = { |
738 | PINMUX_MAP_PRIMARY("I2CMAP", "i2c0", "foo-i2c.0"), | 738 | PINMUX_MAP_PRIMARY("I2CMAP", "i2c0", "foo-i2c.0"), |
739 | }; | 739 | }; |
740 | 740 | ||