gpio: Fix undefined lock_dep_class
The struct is wrong, this is named lock_class_key.
Cc: Thierry Reding <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 961b5da3..86dcd02 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1940,7 +1940,7 @@ EXPORT_SYMBOL_GPL(gpiochip_irqchip_add_key);
#else /* CONFIG_GPIOLIB_IRQCHIP */
static inline int gpiochip_add_irqchip(struct gpio_chip *gpiochip,
- struct lock_dep_class *lock_key)
+ struct lock_class_key *key)
{
return 0;
}