summary refs log tree commit diff
path: root/pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch')
-rw-r--r--pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch b/pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch
new file mode 100644
index 00000000000..39071f2f479
--- /dev/null
+++ b/pkgs/os-specific/linux/ax99100/kernel-6.2-fix-pointer-type.patch
@@ -0,0 +1,11 @@
+--- ax99100_spi.c
++++ ax99100_spi.c
+@@ -76,7 +76,7 @@ int spi_suspend_count;
+ static unsigned int spi_major = 241;
+ static unsigned int spi_min_count = 0;
+ /* device Class */
+-static char *ax_devnode(struct device *dev, umode_t *mode)
++static char *ax_devnode(const struct device *dev, umode_t *mode)
+ {
+ 	return kasprintf(GFP_KERNEL, "%s", dev_name(dev));
+ }