diff options
author | Chris Severance | 2021-09-13 21:22:14 -0400 |
---|---|---|
committer | Chris Severance | 2021-09-13 21:22:14 -0400 |
commit | e88fd4d41b4be6e291fde6234b44ea04cec40a6a (patch) | |
tree | 8a2438ef3a7ca61dc7d1a24fa7c0ab5ab5f30950 /0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch | |
parent | bd0c85adb1161b9c6a8686b9d8b8472b291f9b02 (diff) | |
download | aur-e88fd4d41b4be6e291fde6234b44ea04cec40a6a.tar.gz |
autu: Update to 1.3.29-5
Diffstat (limited to '0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch')
-rw-r--r-- | 0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch b/0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch new file mode 100644 index 000000000000..e38924f7c83f --- /dev/null +++ b/0004-kernel-5.12-MODULE_SUPPORTED_DEVICE.patch @@ -0,0 +1,17 @@ +diff -pNaru5 driver/2.6.27.orig/dgnc_driver.c driver/2.6.27/dgnc_driver.c +--- driver/2.6.27.orig/dgnc_driver.c 2021-09-13 20:59:15.005962528 -0400 ++++ driver/2.6.27/dgnc_driver.c 2021-09-13 21:01:14.600755648 -0400 +@@ -55,11 +55,13 @@ + #include "dgnc_sysfs.h" + + MODULE_LICENSE("GPL"); + MODULE_AUTHOR("Digi International, http://www.digi.com"); + MODULE_DESCRIPTION("Driver for the Digi International Neo and Classic PCI based product line"); ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0) + MODULE_SUPPORTED_DEVICE("dgnc"); ++#endif + + /* + * insmod command line overrideable parameters + * + * NOTE: we use a set of macros to create the variables, which allows |