diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2012-07-26 17:34:38 +0400 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2012-07-26 17:34:38 +0400 |
commit | 1ff197545e1745787692cb31fa866a6bc102e5ec (patch) | |
tree | 78afa0b1a567050fad4bd4867ea49e555f8f78e7 | |
parent | 79dc7c7a7f5f67a035434383be82d6396673822c (diff) | |
parent | 50838b2bd0b19c78e278b98060e8f5695e6f36f2 (diff) |
Merge branch 'tracking-llct-last-minute-fixes' into merge-linux-linaro-core-trackingtracking-llct-ll-20120727.0llct-20120726.0
-rw-r--r-- | include/linux/of_gpio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/of_gpio.h b/include/linux/of_gpio.h index 18e015682276..10c2c5a38e4d 100644 --- a/include/linux/of_gpio.h +++ b/include/linux/of_gpio.h @@ -70,7 +70,8 @@ struct gpio_chip; static inline int of_get_named_gpio_flags(struct device_node *np, const char *list_name, int index, enum of_gpio_flags *flags) { - *flags = 0; + if (flags) + *flags = 0; return -ENOSYS; } |