From cdab1e5e6665e50bb43363f96cfcc723a34f42b2 Mon Sep 17 00:00:00 2001 From: onettboots Date: Wed, 5 Jul 2023 02:44:56 +0000 Subject: [PATCH] psi: fixups build drivers/android/psi.c:65:8: error: unknown type name '__poll_t' static __poll_t psi_fop_poll(struct file *file, poll_table *wait) ^ 1 error generated. Signed-off-by: onettboots --- drivers/android/psi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/android/psi.c b/drivers/android/psi.c index ad5447f1842d..c495ddf721c6 100644 --- a/drivers/android/psi.c +++ b/drivers/android/psi.c @@ -5,6 +5,9 @@ #include #include #include +#include + +typedef unsigned int __poll_t; static bool psi_enable = true;