aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMina Galić <freebsd@igalic.co>2023-06-11 21:12:59 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-12 14:30:15 +0000
commit3ed646d89aa4a312ceb1bdcb948f91903860f8f0 (patch)
treea5bcdc2da28328453e35f58ef303eb4e09378ec6
parentdece4f2d875a3964e1d6438dafa108dda8a7a1d0 (diff)
downloadsrc-3ed646d89aa4a312ceb1bdcb948f91903860f8f0.tar.gz
src-3ed646d89aa4a312ceb1bdcb948f91903860f8f0.zip
fix qcom_cpu_kpssv2 compile on ASUS_AC1300
Complete afdb42987ca8 by changing the return type from boolean_t to bool for the definition for qcom_cpu_kpssv2_regulator_start. PR: 271932 Fixes: afdb42987ca82869eeaecf6dc25c2b6fb7b8370e Pull Request: https://github.com/freebsd/freebsd-src/pull/776
-rw-r--r--sys/arm/qualcomm/qcom_cpu_kpssv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/qualcomm/qcom_cpu_kpssv2.c b/sys/arm/qualcomm/qcom_cpu_kpssv2.c
index afa211a47949..dc3c8c2a7533 100644
--- a/sys/arm/qualcomm/qcom_cpu_kpssv2.c
+++ b/sys/arm/qualcomm/qcom_cpu_kpssv2.c
@@ -72,7 +72,7 @@ loop_delay(int usec)
* This is the KPSSv2 (eg IPQ4018) regulator path for CPU
* and shared L2 cache power-on.
*/
-boolean_t
+bool
qcom_cpu_kpssv2_regulator_start(u_int id, phandle_t node)
{
phandle_t acc_phandle, l2_phandle, saw_phandle;