diff options
author | Nadia Holmquist Pedersen | 2020-12-26 23:31:25 +0100 |
---|---|---|
committer | Nadia Holmquist Pedersen | 2020-12-26 23:33:27 +0100 |
commit | b03de5bde90cca104b2500d0b598ce4c26cb5c8b (patch) | |
tree | ba9bc57fac8c1d247c3339fc07abc0f6a5c2072d /work-without-modifying-hid-quirks.patch | |
download | aur-b03de5bde90cca104b2500d0b598ce4c26cb5c8b.tar.gz |
Commit initial 2020-12-19 sources
Diffstat (limited to 'work-without-modifying-hid-quirks.patch')
-rw-r--r-- | work-without-modifying-hid-quirks.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/work-without-modifying-hid-quirks.patch b/work-without-modifying-hid-quirks.patch new file mode 100644 index 000000000000..befc6d375786 --- /dev/null +++ b/work-without-modifying-hid-quirks.patch @@ -0,0 +1,16 @@ +diff --git a/hid-playstation.c b/hid-playstation.c +index 2f989da..0b7075d 100644 +--- a/hid-playstation.c ++++ b/hid-playstation.c +@@ -1401,8 +1401,11 @@ static const struct hid_device_id ps_devices[] = { + .driver_data = 0 }, + { HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS5_CONTROLLER), + .driver_data = 0 }, ++ { 0, 0 } + }; + ++MODULE_DEVICE_TABLE(hid, ps_devices); ++ + static struct hid_driver ps_driver = { + .name = "playstation", + .id_table = ps_devices, |