Skip to content

Commit

Permalink
gpio: Fix undefined lock_dep_class
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij committed Nov 8, 2017
1 parent 959bc7b commit ec47873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ec47873

Please sign in to comment.