Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp546856pxx; Wed, 28 Oct 2020 10:47:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymzI0h3E85vdth2hD4Q+/iMMB4Fv3tC+dEjfIm9Q/CJu3WYIra4YOm497CpUt7o4w6L0Qe X-Received: by 2002:a17:906:74c5:: with SMTP id z5mr187809ejl.227.1603907253075; Wed, 28 Oct 2020 10:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603907253; cv=none; d=google.com; s=arc-20160816; b=vpffrddwdMJMTObSwgxeg8zFUebBhnK3Hxu8xyDItYQF+nplILlTcHK6CSH//21ZCd e8ocos83Q+QKRozh0HRkoyW7TtqnsnYeNSsTydNoInHTmoJTeUX+ohmWn8YJOFPkEmd5 NDJAO9WZKlld4fhRztb0wD1omdCIY1pZQoVFyVOFrOmx5LxkFRVaVHZ8kbfqEHQ+p5DQ A4b8sd5MTkfs8/gRubVN28RuKa0qQeAYLoW0iHdoXTomZBfmfGuD+NW+nvI4HufyKKMX F3/DvwcxqSlQaoV2u6Bajz6jzm2BNazjDTCU8KXt2pwxSthe47Ea6VbVGWFYvae5dk9K 7+Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hxjbKzwWoRD40O1+8yIOYppCPE1O5hDOkWo3lEMuP9E=; b=D9Ao4WqjqbRux8FGbV6VkGwhkjN/ogwJcUwMmnTbJgAnFmC2KVHhbHRLXWq3SwSy3o tLwr1EsbfUdd9w26b/i4tgE/9EQc7oLw6TdIAgVUATGxbPoBHzYi4elPVWO9tGa+PIP1 LV+3ICgp57CPHm6AKRwJ9n8WBHUkssrrVjP1GNrwVWlSBAV5bQm6LRlPSyib7Lk0HOXu j5EhH5Fa8ulMwYcEdYbXeMA+vgdH8fV3nc5vifhzA02F3LSgMUSHePgiplsDq/5KHnzl 3Be8siuA1EPco6Y+U4HDmjFdZC812T9briIYTLbCfWPecjpXU+KAQsdXXfYbV+/HEKi8 /AUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AhB9yxjE; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g27si4064349ejd.639.2020.10.28.10.47.09; Wed, 28 Oct 2020 10:47:33 -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=@linaro.org header.s=google header.b=AhB9yxjE; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1822787AbgJ0Rwa (ORCPT + 99 others); Tue, 27 Oct 2020 13:52:30 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37773 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1822766AbgJ0Rw0 (ORCPT ); Tue, 27 Oct 2020 13:52:26 -0400 Received: by mail-pf1-f195.google.com with SMTP id 126so1354335pfu.4 for ; Tue, 27 Oct 2020 10:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hxjbKzwWoRD40O1+8yIOYppCPE1O5hDOkWo3lEMuP9E=; b=AhB9yxjE+oTFnHBvWkXQ1VwSvJONRbmdfYDgefWFNWvk5Wis3UPohWet2v/uqNw/KE Uxzw4t88R0JCVK3rRe8HgNZDX7GmJKMw1/rsjRD9qM2jlO35dJ6eDcICWe7jMmnz9BpW BKJt+x9zcJqhH8RZa3fDDS3TiWLMRddJXCmRKcOehLTIkg7AP4LOrOzkRaIzB4m5IVnq b3nlR9aBTRvn+MkDx18PpA5YMSsTFlQIGNz2V8sKRmAx5IlbZ7CJDh9iUh3/mB2uMZ4b WMK5QiTSfhK3/I20E04e/Qa6w/CvquSrWQt2/wJlOaEICRzbRvopsG2pZYn2bOTYcGfF uwsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hxjbKzwWoRD40O1+8yIOYppCPE1O5hDOkWo3lEMuP9E=; b=RQU2etQNA/zhZfHjVCHjwDv+E2/JtRpEGqe4gpYu391pTkm5vtN8aExeQiaXC2+8r+ dNHdkGR6ktbwTWcViOEwIKQwETjUPuLfEZJ1FbWPBeRM5wmkJ33BMkgTVNUvuidUTNQG noYZLPgfdqrGTXg4bH69hI/5T4i+10wVzlAO9eAfwGl5wysA8LJ4Ks3qdKZyYOS7uUYw r52uTCL6+IPFwaO/gDxgg0+HxSLnupxpyzHDsT0J99GajFx31ZjqVdPxFxPeBkfoB0D0 9AidYg9CJinoXDh4YltSH2kF40YW02I7NkJ581m7KJwN+1r/8V9qQiSuYyg5bStIPY4O OwAA== X-Gm-Message-State: AOAM530sLNqEhqBuu3iju97L5Z9MrcTR4RhZyUZHfULk8yqOVPdrSWh7 Y2EtBfBg0bjpbHHBg5YpajuRaQ== X-Received: by 2002:a63:cd48:: with SMTP id a8mr2741390pgj.83.1603821145679; Tue, 27 Oct 2020 10:52:25 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id r8sm2761225pgl.57.2020.10.27.10.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 10:52:25 -0700 (PDT) From: Mathieu Poirier To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: guennadi.liakhovetski@linux.intel.com, arnaud.pouliquen@st.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 4/8] rpmsg: virtio: Rename rpmsg_create_channel Date: Tue, 27 Oct 2020 11:52:14 -0600 Message-Id: <20201027175218.1033609-5-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201027175218.1033609-1-mathieu.poirier@linaro.org> References: <20201027175218.1033609-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaud Pouliquen Rename the internal function as it is internal, and as the name will be used in rpmsg_core. Signed-off-by: Arnaud Pouliquen Signed-off-by: Mathieu Poirier Reviewed-by: Guennadi Liakhovetski --- drivers/rpmsg/virtio_rpmsg_bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index 064a5ddcf7c0..01f05bc570a4 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -365,8 +365,8 @@ 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; @@ -842,7 +842,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.25.1