diff options
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-nmk.txt | 2 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-nomadik.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt index ee87467ad8d6..8315ac7780ef 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt | |||
@@ -26,6 +26,6 @@ Example: | |||
26 | #gpio-cells = <2>; | 26 | #gpio-cells = <2>; |
27 | gpio-controller; | 27 | gpio-controller; |
28 | interrupt-controller; | 28 | interrupt-controller; |
29 | supports-sleepmode; | 29 | st,supports-sleepmode; |
30 | gpio-bank = <1>; | 30 | gpio-bank = <1>; |
31 | }; | 31 | }; |
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index 3e7e47d6b385..dd9e6f26416d 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/pinctrl-nomadik.c | |||
@@ -1198,7 +1198,7 @@ static int __devinit nmk_gpio_probe(struct platform_device *dev) | |||
1198 | if (!pdata) | 1198 | if (!pdata) |
1199 | return -ENOMEM; | 1199 | return -ENOMEM; |
1200 | 1200 | ||
1201 | if (of_get_property(np, "supports-sleepmode", NULL)) | 1201 | if (of_get_property(np, "st,supports-sleepmode", NULL)) |
1202 | pdata->supports_sleepmode = true; | 1202 | pdata->supports_sleepmode = true; |
1203 | 1203 | ||
1204 | if (of_property_read_u32(np, "gpio-bank", &dev->id)) { | 1204 | if (of_property_read_u32(np, "gpio-bank", &dev->id)) { |