Hi Dmitry,
On 12/9/21 09:16, Dmitry Torokhov wrote:
On Tue, Dec 07, 2021 at 11:07:53AM +0100, Hans de Goede wrote:
quoted
Use the new soc_intel_is_byt() helper from
linux/platform_data/x86/soc.h.
Signed-off-by: Hans de Goede <redacted>
---
drivers/input/touchscreen/goodix.c | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index 828487d9ded5..6e71d5c732af 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -18,6 +18,7 @@
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
+#include <linux/platform_data/x86/soc.h>
This header is not in 5.15 so we need to either wait or you need to land
thought your tree, hopefully there are no conflicts.
Right, this landed in 5.16-rc1. Since this is just a cleanup waiting
is fine.
I'll re-submit this once 5.16 is out.
Regards,
Hans