See https://postmarketos.org/edge/2025/11/11/kernels-llvm/ for the background behind this change and how we're handling these MRs. [ci:skip-kconfigcheck]: only changing toolchain Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7597>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 01fc3dd3c8317362bcddd9eab9f243909621a4a0 Mon Sep 17 00:00:00 2001
|
|
From: Nicola Guerrera <guerrera.nicola@gmail.com>
|
|
Date: Fri, 31 Oct 2025 18:38:21 +0100
|
|
Subject: [PATCH] input: touchscreen: fts_touch: fix compilation with LLVM
|
|
|
|
---
|
|
drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c b/drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c
|
|
index ef6d66229cc1..18211a0470bf 100644
|
|
--- a/drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c
|
|
+++ b/drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c
|
|
@@ -112,7 +112,7 @@ struct device *getDev(void)
|
|
* slave
|
|
* @return client if it was previously set or NULL in all the other cases
|
|
*/
|
|
-struct i2c_client *getClient()
|
|
+struct i2c_client *getClient(void)
|
|
{
|
|
if (client != NULL)
|
|
return (struct i2c_client *)client;
|
|
@@ -125,7 +125,7 @@ struct i2c_client *getClient()
|
|
* slave
|
|
* @return client if it was previously set or NULL in all the other cases
|
|
*/
|
|
-struct spi_device *getClient()
|
|
+struct spi_device *getClient(void)
|
|
{
|
|
if (client != NULL)
|
|
return (struct spi_device *)client;
|
|
--
|
|
GitLab
|
|
|