kernel: bump 5.15 to 5.15.46
[openwrt/staging/ansuel.git] / target / linux / bcm27xx / patches-5.15 / 950-0062-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
index fd189a539b9c53b6c8fbd14c469d150749ad173f..c4360e12e8bc31461dd7fd579f44816d3019a240 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -362,7 +362,7 @@ static const struct gpio_chip bcm2835_gp
+@@ -378,7 +378,7 @@ static const struct gpio_chip bcm2835_gp
        .get = bcm2835_gpio_get,
        .set = bcm2835_gpio_set,
        .set_config = gpiochip_generic_config,
@@ -28,8 +28,8 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 +      .base = 0,
        .ngpio = BCM2835_NUM_GPIOS,
        .can_sleep = false,
- };
-@@ -378,7 +378,7 @@ static const struct gpio_chip bcm2711_gp
+       .of_gpio_ranges_fallback = bcm2835_of_gpio_ranges_fallback,
+@@ -395,7 +395,7 @@ static const struct gpio_chip bcm2711_gp
        .get = bcm2835_gpio_get,
        .set = bcm2835_gpio_set,
        .set_config = gpiochip_generic_config,
@@ -37,4 +37,4 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 +      .base = 0,
        .ngpio = BCM2711_NUM_GPIOS,
        .can_sleep = false,
- };
+       .of_gpio_ranges_fallback = bcm2835_of_gpio_ranges_fallback,