aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-11-08 15:40:41 -0500
committerLinus Walleij <linus.walleij@linaro.org>2017-11-08 15:40:41 -0500
commitec47873e1f29223d949aab69f7820c09f1b65f9d (patch)
tree9d431a9547405d85bcf377f23993bcb700096a60
parent959bc7b22bd25a3a907fbb9b26a1d0cbdf98ef40 (diff)
gpio: Fix undefined lock_dep_class
The struct is wrong, this is named lock_class_key. Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 961b5da38bb9..86dcd02cf602 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1940,7 +1940,7 @@ EXPORT_SYMBOL_GPL(gpiochip_irqchip_add_key);
1940#else /* CONFIG_GPIOLIB_IRQCHIP */ 1940#else /* CONFIG_GPIOLIB_IRQCHIP */
1941 1941
1942static inline int gpiochip_add_irqchip(struct gpio_chip *gpiochip, 1942static inline int gpiochip_add_irqchip(struct gpio_chip *gpiochip,
1943 struct lock_dep_class *lock_key) 1943 struct lock_class_key *key)
1944{ 1944{
1945 return 0; 1945 return 0;
1946} 1946}