Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec47873e authored by Linus Walleij's avatar Linus Walleij
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 959bc7b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}