-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
683922a
commit ebfd726
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From bbf0dcc484c3f5611f4e375da43e0e0ef08f3d18 Mon Sep 17 00:00:00 2001 | ||
From: Vicki Pfau <[email protected]> | ||
Date: Tue, 16 May 2023 15:06:07 -0700 | ||
Subject: [PATCH] Fix build on kernel 6.3 | ||
|
||
--- | ||
bus/bus.c | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/bus/bus.c b/bus/bus.c | ||
index 7fde922..b129d6f 100644 | ||
--- a/bus/bus.c | ||
+++ b/bus/bus.c | ||
@@ -67,7 +67,11 @@ static void gip_client_state_changed(struct work_struct *work) | ||
} | ||
} | ||
|
||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) | ||
static int gip_client_uevent(struct device *dev, struct kobj_uevent_env *env) | ||
+#else | ||
+static int gip_client_uevent(const struct device *dev, struct kobj_uevent_env *env) | ||
+#endif | ||
{ | ||
struct gip_client *client = to_gip_client(dev); | ||
struct gip_classes *classes = client->classes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Template file for 'xone' | ||
pkgname=xone | ||
version=0.3 | ||
revision=1 | ||
revision=2 | ||
depends="curl cabextract dkms" | ||
short_desc="Modern Linux driver for Xbox One and Xbox Series X|S controllers" | ||
maintainer="xolophreny <[email protected]>" | ||
|