From 29a21eb889f9fe140d8739de67968efa0d0ae712 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Fri, 22 Nov 2024 23:42:03 +0100
Subject: [PATCH 160/484] input: cyttsp4: Fix compile issue

We can't use {0} initializer with v6.12+

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 drivers/input/touchscreen/cyttsp4_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c
index 67cb72ad6620..b2a294cce19e 100644
--- a/drivers/input/touchscreen/cyttsp4_core.c
+++ b/drivers/input/touchscreen/cyttsp4_core.c
@@ -851,7 +851,7 @@ static void cyttsp4_get_mt_touches(struct cyttsp4 *cd, int num_cur_tch)
 	struct cyttsp4_sysinfo *si = cd->si;
 	struct cyttsp4_touch tch;
 	int i, j, t = 0;
-	int ids[max(CY_TMA1036_MAX_TCH, CY_TMA4XX_MAX_TCH)] = {0};
+	int ids[CY_TMA4XX_MAX_TCH] = {};
 	struct cyttsp4_signal_def* sig;
 
 	for (i = 0; i < num_cur_tch; i++) {
-- 
2.49.0

