mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-04-25 05:01:01 +02:00
Linux 6.16 changed the return type of gpio_chip.set() from void to int. Add a version check so the driver builds correctly on both older and newer kernels[1]. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.16&id=fb52f3226cab41b94f9e6ac92b1108bce324e700 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/21078 Signed-off-by: Robert Marko <robimarko@gmail.com>