Files
pmaports-rtwo/device/testing/linux-postmarketos-qcom-sm8150/0003-fix-llvm-build.patch
T
Aelin d72814deb4 linux-postmarketos-qcom-sm8150: Build with LLVM
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>
2026-02-19 06:10:04 +00:00

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