projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b4fc4
)
gpio-nct5104d: fix compilation with kernel 6.6
author
Rosen Penev
<rosenp@gmail.com>
Sun, 12 May 2024 21:38:59 +0000
(14:38 -0700)
committer
Robert Marko
<robimarko@gmail.com>
Mon, 13 May 2024 08:15:17 +0000
(10:15 +0200)
gpio.h has been deprecated for a while and no longer compiles with 6.6.
Include the proper header.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link:
https://github.com/openwrt/openwrt/pull/15471
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
patch
|
blob
|
history
diff --git
a/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
b/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
index 5343d6e3a8d13d55255c0adcc3efd65bda63f1d7..eb1cf8494abe2b317775be145aa9672010d82b8c 100644
(file)
--- a/
package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
+++ b/
package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
@@
-13,7
+13,7
@@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
-#include <linux/gpio.h>
+#include <linux/gpio
/driver
.h>
#include <linux/version.h>
#include <linux/dmi.h>
#include <linux/string.h>