summaryrefslogtreecommitdiff
path: root/hosts/iroha/gentoo/patches/games-util
diff options
context:
space:
mode:
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;