linux-libc-headers: refresh patch to add Digi debounce IOCTL to kernel v5.4

Digi customized linux kernel gpio.h file to allow debounce functionality by the
user space through the character device.
This commit patches the gpio.h file that is used to generate the SDK (which comes
from kernel 5.4) with Digi debounce additions.

https://jira.digi.com/browse/DEL-7027

Signed-off-by: Hector Bujanda hector.bujanda@digi.com
This commit is contained in:
Hector Bujanda 2020-04-27 01:20:08 +02:00 committed by Arturo Buzarra
parent 940582f172
commit d38ed61287
2 changed files with 4 additions and 7 deletions

View File

@ -15,7 +15,7 @@ Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
1 file changed, 12 insertions(+)
diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h
index 1bf6e6df084b..4b092990d4c8 100644
index 4ebfe0ac6c5b..95569071f11b 100644
--- a/include/uapi/linux/gpio.h
+++ b/include/uapi/linux/gpio.h
@@ -53,6 +53,17 @@ struct gpioline_info {
@ -43,6 +43,3 @@ index 1bf6e6df084b..4b092990d4c8 100644
+#define GPIO_SET_DEBOUNCE_IOCTL _IOW(0xB4, 0x05, struct gpioline_debounce)
#endif /* _UAPI_GPIO_H_ */
--
2.17.1