summaryrefslogtreecommitdiff
path: root/hosts/iroha/gentoo/patches/games-util
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-12 22:26:02 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-12 22:36:49 -0500
commit53a0a5473f45d37027af9663638adbf56667e4ca (patch)
tree05c6c39678a9005f95c00e0fdf31193657bd4d3d /hosts/iroha/gentoo/patches/games-util
downloaddotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.tar.gz
dotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.tar.bz2
dotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.zip
Hopefully no leaks
Diffstat (limited to 'hosts/iroha/gentoo/patches/games-util')
-rw-r--r--hosts/iroha/gentoo/patches/games-util/xone/48.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/iroha/gentoo/patches/games-util/xone/48.diff b/hosts/iroha/gentoo/patches/games-util/xone/48.diff
new file mode 100644
index 0000000..db6f63d
--- /dev/null
+++ b/hosts/iroha/gentoo/patches/games-util/xone/48.diff
@@ -0,0 +1,16 @@
+diff --git a/bus/bus.c b/bus/bus.c
+index 4a6c64f..8dc9bbb 100644
+--- a/bus/bus.c
++++ b/bus/bus.c
+@@ -56,7 +56,11 @@ static struct device_type gip_client_type = {
+ .release = gip_client_release,
+ };
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)
+ static int gip_bus_match(struct device *dev, struct device_driver *driver)
++#else
++static int gip_bus_match(struct device *dev, const struct device_driver *driver)
++#endif
+ {
+ struct gip_client *client;
+ struct gip_driver *drv;