diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-01-07 13:53:39 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-01-07 13:53:39 +0100 |
commit | 2cb81261a967ee93825efc9af591d346eca51112 (patch) | |
tree | 038c3260824812b2b5059231a37ca94d7e333999 /drivers/gpio/gpiolib.h | |
parent | gpio: mpc8xxx: ls1088a/ls1028a edge detection mode bug fixs. (diff) | |
parent | gpiolib: use gpiochip_get_desc() in gpio_ioctl() (diff) | |
download | linux-2cb81261a967ee93825efc9af591d346eca51112.tar.xz linux-2cb81261a967ee93825efc9af591d346eca51112.zip |
Merge tag 'gpio-updates-for-v5.6-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into devel
gpio updates for v5.6
- improvements in the gpio-pca953x driver
- use platform_irq_count() in gpio-mvebu and gpio-bcm-kona
- remove unneeded MODULE_VERSION() usage in the gpio directory
- irq-related improvements in gpio-tegra driver
- several improvements for the core subsystem code: fix confusing indentation,
fix int type casting, unduplicate code in several places
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r-- | drivers/gpio/gpiolib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index a4a759920faa..3e0aab2945d8 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -80,7 +80,8 @@ struct gpio_array { unsigned long invert_mask[]; }; -struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum); +struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, + unsigned int hwnum); int gpiod_get_array_value_complex(bool raw, bool can_sleep, unsigned int array_size, struct gpio_desc **desc_array, |