Skip to content

Commit

Permalink
gpio-nct5104d: fix compilation with kernel 6.6
Browse files Browse the repository at this point in the history
gpio.h has been deprecated for a while and no longer compiles with 6.6.
Include the proper header.

Signed-off-by: Rosen Penev <[email protected]>
Link: openwrt#15471
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
neheb authored and robimarko committed May 13, 2024
1 parent f1b4fc4 commit 4f87a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4f87a4d

Please sign in to comment.