From nobody Sat Nov 23 22:49:55 2024 Received: from cmccmta2.chinamobile.com (cmccmta4.chinamobile.com [111.22.67.137]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4539E1EEE9 for ; Sat, 9 Nov 2024 03:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.137 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731123364; cv=none; b=IR9KwWifidhIQrzZZ8Fr/P7M13eN77q2ihtm07k5bzsBANkJ+qUZj7+Q2Fwtvh0MdlZ5CxzC04YoMNLkzWI8qqr5yr7ewwa5ymd0fIcfuGXLsyWDZxdHBy7t+v8fpSV6enoN8WgKhODrstW69BL3s2McvXe1HXc2U2o2N9AILEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731123364; c=relaxed/simple; bh=V29sDjl4wYLu9vObgViBJRI7ryVCF3qaZxWh4f2DFWk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kwFlaKPWBBW25P/EjHkHFC4f0av5QhQG9vKlfmG8SRppuigbJeuYhvVtK8+txeuSA/2tnLZmqXDvY1aPV4e2pTI8VAiBWKDf+HhvbkwFFa7SkK0bl6yWiv6Rk7G0q3yhhTA2xdj3d59r0If+iHswdGn/ljcEg5O5UpRv9SOQ9sA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.137 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app08-12008 (RichMail) with SMTP id 2ee8672ed89c881-318c4; Sat, 09 Nov 2024 11:35:56 +0800 (CST) X-RM-TRANSID: 2ee8672ed89c881-318c4 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.101]) by rmsmtp-syy-appsvr06-12006 (RichMail) with SMTP id 2ee6672ed864cf5-bee92; Sat, 09 Nov 2024 11:35:56 +0800 (CST) X-RM-TRANSID: 2ee6672ed864cf5-bee92 From: guanjing To: rogerq@kernel.org, s-anna@ti.com, nm@ti.com, horms@kernel.org, p-mohan@ti.com Cc: linux-kernel@vger.kernel.org, guanjing Subject: [PATCH v2] soc: ti: pruss: remove misplaced semicolon from pruss_cfg_xfr_enable Date: Sat, 9 Nov 2024 11:26:31 +0800 Message-Id: <20241109032631.258765-1-guanjing@cmss.chinamobile.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Roger Quadros --- 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) =20 static inline int pruss_cfg_xfr_enable(struct pruss *pruss, enum pru_type pru_type, - bool enable); + bool enable) { return ERR_PTR(-EOPNOTSUPP); } --=20 2.33.0