mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
18 lines
353 B
Diff
18 lines
353 B
Diff
--- a/hal/soc_ops/ipq50xx/nss_ipq50xx.c
|
|
+++ b/hal/soc_ops/ipq50xx/nss_ipq50xx.c
|
|
@@ -18,7 +18,14 @@
|
|
|
|
#include <linux/of.h>
|
|
#include <linux/ioport.h>
|
|
+#include <linux/version.h>
|
|
+
|
|
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(6, 2, 0))
|
|
#include <linux/firmware/qcom/qcom_scm.h>
|
|
+#else
|
|
+#include <linux/qcom_scm.h>
|
|
+#endif
|
|
+
|
|
#include "nss_dp_hal.h"
|
|
|
|
/*
|