summaryrefslogtreecommitdiff
path: root/snd-alpx-dkms/snd-alpx/regmap-mmio.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2024-05-10 18:56:00 (GMT)
committerChristian Pointner <equinox@helsinki.at>2024-05-10 18:56:00 (GMT)
commitaf6bfbbd2496b1f5aa02b94caff4e6f988fa32c9 (patch)
tree45bebb68a0bf3bfc2fff1646f6fa0f4b976fba57 /snd-alpx-dkms/snd-alpx/regmap-mmio.c
parent7035064ca063fdf15669ceb790ecef1e5ed054b0 (diff)
rename package to snd-alpx-dkms
Diffstat (limited to 'snd-alpx-dkms/snd-alpx/regmap-mmio.c')
-rw-r--r--snd-alpx-dkms/snd-alpx/regmap-mmio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/snd-alpx-dkms/snd-alpx/regmap-mmio.c b/snd-alpx-dkms/snd-alpx/regmap-mmio.c
new file mode 100644
index 0000000..59c2007
--- /dev/null
+++ b/snd-alpx-dkms/snd-alpx/regmap-mmio.c
@@ -0,0 +1,9 @@
+#include <linux/version.h>
+
+#if KERNEL_VERSION(5, 14, 0) == LINUX_VERSION_CODE
+#include "core/generic/5.14/regmap-mmio.c"
+#elif KERNEL_VERSION(4, 19, 0) == LINUX_VERSION_CODE
+#include "core/generic/4.19/regmap-mmio.c"
+#else
+#error "Unsupported kernel version, backporting another version of regmap-mmio is required"
+#endif