[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241109032631.258765-1-guanjing@cmss.chinamobile.com>
Date: Sat, 9 Nov 2024 11:26:31 +0800
From: guanjing <guanjing@...s.chinamobile.com>
To: rogerq@...nel.org,
s-anna@...com,
nm@...com,
horms@...nel.org,
p-mohan@...com
Cc: linux-kernel@...r.kernel.org,
guanjing <guanjing@...s.chinamobile.com>
Subject: [PATCH v2] soc: ti: pruss: remove misplaced semicolon from pruss_cfg_xfr_enable
Remove misplaced colon in inline variant of pruss_cfg_xfr_enable()
which results in a syntax error when the code is compiled without
CONFIG_TI_PRUSS.
Fixes: 0211cc1e4fbb ("soc: ti: pruss: Add helper functions to set GPI mode, MII_RT_event and XFR")
Signed-off-by: guanjing <guanjing@...s.chinamobile.com>
---
include/linux/pruss_driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/pruss_driver.h b/include/linux/pruss_driver.h
index c9a31c567e85..29a76a60869c 100644
--- a/include/linux/pruss_driver.h
+++ b/include/linux/pruss_driver.h
@@ -167,7 +167,7 @@ static inline int pruss_cfg_miirt_enable(struct pruss *pruss, bool enable)
static inline int pruss_cfg_xfr_enable(struct pruss *pruss,
enum pru_type pru_type,
- bool enable);
+ bool enable)
{
return ERR_PTR(-EOPNOTSUPP);
}
--
2.33.0
Powered by blists - more mailing lists