summaryrefslogtreecommitdiff
path: root/snd-alpx/snd-alpx/regmap-mmio.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2024-05-10 18:52:23 (GMT)
committerChristian Pointner <equinox@helsinki.at>2024-05-10 18:52:23 (GMT)
commita641800acf13b5fb1463d4280c3ee7fc267143fb (patch)
tree248b647a682f71d9eb90d14d24081368ea905a42 /snd-alpx/snd-alpx/regmap-mmio.c
parentcc4badffe0e02d159c21eb90ea080a6a2f90cb4b (diff)
import whole driver package
Diffstat (limited to 'snd-alpx/snd-alpx/regmap-mmio.c')
-rw-r--r--snd-alpx/snd-alpx/regmap-mmio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/snd-alpx/snd-alpx/regmap-mmio.c b/snd-alpx/snd-alpx/regmap-mmio.c
new file mode 100644
index 0000000..59c2007
--- /dev/null
+++ b/snd-alpx/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