Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3044532pxa; Tue, 25 Aug 2020 09:56:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXO5kSGHn5iMxg0ZzidRyDdiALLXH4cdlrGxhku0t1NL5HEMVR4appl9nlWV3OLO0rc9Xm X-Received: by 2002:a17:906:691:: with SMTP id u17mr10495582ejb.441.1598374583248; Tue, 25 Aug 2020 09:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598374583; cv=none; d=google.com; s=arc-20160816; b=myzrwC3eRwi6VrHncZ82Nfmn8oZp4Hw4AKAcnP35a9OuawF9hnkRljNyi9PVCKF6Di +1frWLnuvK2ZjdJtlx01IV9eEDXcmQ4UYFn2YhJIRAtnD4Uf23ftCbqubfOgiKftfjmU MwyfhPgah8xncyy+CHGBZRIilD05oTe49lY9Mdu53H7bdDpn4GpMSH76JRxBtLxLpXZG yKR43nw4D2fz+5PC5MSX+BnC0kkHAZjigBTu41vlRelw6cb/gN7EmjNZMtXhGnaaY0Nq 1GqBsGdiw/Y/1qo+AC8fV9LARlEgvk0i6zJUDmn6rBFLNllZ0eRvKUupGH8Ka84icNMo 4mag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PWq2Fd9CmuFDcof5DhJA8swylSAL/EhvY4+9u/ySbmQ=; b=xxu6xFD8+ZPV8Bok2yw807FzyR4xwMRfKfAvalpgmbz18HwadOuLk8ahKV4UGoB5p1 FEDSNcQd6awQfSIuV0HUbMdHVy3QqLgqrrJFsbD/Qpg+/unDk9EbR01jrhwwWF+mmQu5 sOURLdMkd3h5LcUPXMxuNBANuYF6iTVv/0KYENhmpGo/TVLTLFo6hk98D4YmLqzravCi Vr4+9BJhHHnioByvvOugycOvoxVf2ZcoLxD58axXbvCsnf+jL57WH5Q7mPYkQCBZPE/Z sx3FmvcMuWlLrtX9Xp3/kFUCJkjk3hRi3kcNMy1GqOzuBBGP2+SfYfFuzVRjAxq0cm31 h83A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=b22u3Msv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si9239891eji.586.2020.08.25.09.55.59; Tue, 25 Aug 2020 09:56:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=b22u3Msv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726759AbgHYQxC (ORCPT + 99 others); Tue, 25 Aug 2020 12:53:02 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:11314 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbgHYQwW (ORCPT ); Tue, 25 Aug 2020 12:52:22 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07PGlRRJ007563; Tue, 25 Aug 2020 18:52:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=PWq2Fd9CmuFDcof5DhJA8swylSAL/EhvY4+9u/ySbmQ=; b=b22u3Msvsh3z0x0BiS4tc2furm5WHFoVmBDnxKlEIi7gOiEeGts7CdM0gthVK87tAB2X XTDz8aMwg5aiZgEGSyyAmKM0X3tKP9kJaBfVRYySB7KijVPQr3RySFhcisMlZjT/h++2 4cB95wHa211O7kW91V6F4jKr1mw3GT9w5IpBY61pDWQTzKN4uGMrBeMU3oRLuWRzdX7m r9EwcueF8mdZuIHEp6LW6b2qdtdlX9qC+WXlUGb2yMUyItyH1VmAxnxNu8gmp42I2Xoj lHPnTbP9ky7dPNP5y2LDQluaCIuVLdYpIT8m3GMcHxLo6Y1rdVlhoCn1oXgGdJD0zKDW hQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 333b2mm0jp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Aug 2020 18:52:14 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1A8DE10002A; Tue, 25 Aug 2020 18:52:14 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0BCAC2A5E44; Tue, 25 Aug 2020 18:52:14 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 25 Aug 2020 18:52:13 +0200 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier CC: , , , Subject: [PATCH v2 1/8] rpmsg: virtio: rename rpmsg_create_channel Date: Tue, 25 Aug 2020 18:49:00 +0200 Message-ID: <20200825164907.3642-2-arnaud.pouliquen@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825164907.3642-1-arnaud.pouliquen@st.com> References: <20200825164907.3642-1-arnaud.pouliquen@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-25_06:2020-08-25,2020-08-25 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the internal function as it is internal, and as the name will be used in rpmsg_core. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/virtio_rpmsg_bus.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index 9006fc7f73d0..736bc7b9dea8 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -390,8 +390,9 @@ static void virtio_rpmsg_release_device(struct device *dev) * this function will be used to create both static and dynamic * channels. */ -static struct rpmsg_device *rpmsg_create_channel(struct virtproc_info *vrp, - struct rpmsg_channel_info *chinfo) +static struct rpmsg_device * +__rpmsg_create_channel(struct virtproc_info *vrp, + struct rpmsg_channel_info *chinfo) { struct virtio_rpmsg_channel *vch; struct rpmsg_device *rpdev; @@ -864,7 +865,7 @@ static int rpmsg_ns_cb(struct rpmsg_device *rpdev, void *data, int len, if (ret) dev_err(dev, "rpmsg_destroy_channel failed: %d\n", ret); } else { - newch = rpmsg_create_channel(vrp, &chinfo); + newch = __rpmsg_create_channel(vrp, &chinfo); if (!newch) dev_err(dev, "rpmsg_create_channel failed\n"); } -- 2.17.1