commit | 209e64f9ed28e4e686c3dfb0ed89069849d679c6 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Tue Nov 19 10:37:29 2013 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 25 09:03:13 2013 +0100 |
tree | 0e44447ae705616647e97824550a656ceb4fe6e4 | |
parent | 61c6375d55235e67d15b4a12cfe90d02710cef5e [diff] |
gpiolib: fix of_find_gpio() when OF not defined The prototype for static GPIO lookup functions has been updated to use an explicit type for GPIO lookup flags. Unfortunately the definition of of_find_gpio() when CONFIG_OF is not defined has been omitted, which triggers a warning. This patch fixes this. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>