Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp572383pxu; Wed, 14 Oct 2020 08:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDI7S3mKLcjFaUmae0eYkehZNb7s+TobvkYD7hZ8aDkzEJfIwtYxyGesp5Aq0mLYh/1atl X-Received: by 2002:a17:906:6bce:: with SMTP id t14mr6006366ejs.118.1602688866630; Wed, 14 Oct 2020 08:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602688866; cv=none; d=google.com; s=arc-20160816; b=YJoZGtD6EuBeseEWeeUtuYybo+3l4fA/eRXbTEXi1Gr/a7mi0NjyS3MTr8j5GQEdbv YAtmI1weCoghozeO3zEes5Zh+u5JrGhIwyQKbktk7a8D2gG31rCVwWyYv/BQ1i77na+4 wZ9AYxxthWMBMzDPbP5dr+R6ruNBgvBwUqCy8Yefh5wgVSpx9V28jCHyRtoBhtSem2wP wuJKgmynzlne/z3RkiLD1LlD+Vfgvfkeq1zz6itH31R0Bf5XMuSTcdXqunze71bCJ4xl A4bjqWLmL1TfRCMDABLG4N2Xj6NlCgeyr7PVhpy4hx+QK0MJBGR7fr5TNATbqTy8BKM5 yHJQ== 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=+GahyWSypfEwT9uS6WgR1EVJilbD+R1xTvJBHKJc9XE=; b=gN+oSBSVaFrT8Yh6/rJNdku+G3i3E4SG1g3PH3qnS2C1N/xgwcWqgWPR3Jf09GrTUd w1yH27YoUmYVjLKhJdEuTn5BFgiMR3RqXv13ZtZGZ+W/SFUOfIxib7XdXUknRFYKco8m zg9HxuG93v1I8HHlqqG113wdkMoSWATx3q2Kn9z32lcJXxdnXelpchu2qTvy+G3espUe lrayAhfK4L58HxblUax18BjyQwD9j+pLmiPKD/SBPm78abu+/QVmizBdzkfcfTQMu9KW YEcHc6QJjcKD6cDc4lbaBgV2bgqynxdqa4NiR3XPxoGydXWYhWZ1eIwIqqAWjvycc6eP usaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YmFrCopN; 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 cy20si2255683edb.96.2020.10.14.08.20.44; Wed, 14 Oct 2020 08:21:06 -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=YmFrCopN; 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 S1730805AbgJNJUK (ORCPT + 99 others); Wed, 14 Oct 2020 05:20:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387819AbgJNJUG (ORCPT ); Wed, 14 Oct 2020 05:20:06 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06582C08EA78 for ; Tue, 13 Oct 2020 16:25:28 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id o3so714570pgr.11 for ; Tue, 13 Oct 2020 16:25:28 -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=+GahyWSypfEwT9uS6WgR1EVJilbD+R1xTvJBHKJc9XE=; b=YmFrCopNTlwMHpVSctRlADa9tTikF+I4k4nziJkD70kXhUO2rF9SnWUSAHL3ISxxEJ lTxNT3R2wJTHIEE+FbSySVzOZ3vZ54EZ3ZhESZJRLE7oV6hu17dxsME511DvpMU9cQZo uQxCdx9kGw08cM/qDH56ktGjgW+oIus5lkKg0OUl4dlWUowl3pkXhAdKPG3kBG0OBshv IbZcB8xIbc//enos5xYaiTizQnJwAZ1eU62lVwqcLxYcm4t9Hub/FkHPqpKPb2IVjElq yuAiFY6YjkHN7gC/JgMBsnSb9CT3hfV5nkoLFphaAv1Osa8CpkTs3y5sIhDf6qTPWVTK 2Vyg== 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=+GahyWSypfEwT9uS6WgR1EVJilbD+R1xTvJBHKJc9XE=; b=WZiTHw8Gr+tacXOUd+3Wsgmin7zGJUPtGTcbKEpSIrb8ReogEvL1E5BECLDkEbC/XD noqxcLHO7/4qTs2gM90lCcx6UzqNwEhjvBEzfyNoLWZehRvoi00r2QYQ6zAAbHADNB1X iKo0YP3PZpZHN6gexDxozT6RA7yd2pT16w4roiSn9+00R+taCKFcWPSrBRbz3B09sY8B D9pGRgNTv3bfo2fQcKO0uWcziM1yZZMjHal53IgXfFfuplb8No7Zw1Vl6RrW4Di8uwZF HeUIys6sRUehXfHOcBgr87dhIC6IXBqC5cuE5/pPv4GANkQcMeG1jOLDXVw7l8JGiM8S db9g== X-Gm-Message-State: AOAM530gydePgT5Z80vakGgCWmywTCMyFaxbtC0Zy3GnRliS0dS3c9n4 JNS7w1kKp5t9lQVbN52t5Ts9na29KCsrIQ== X-Received: by 2002:a63:f744:: with SMTP id f4mr1554710pgk.34.1602631527580; Tue, 13 Oct 2020 16:25:27 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id b8sm791871pfr.159.2020.10.13.16.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 16:25:26 -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 v2 5/9] rpmsg: virtio: Rename rpmsg_create_channel Date: Tue, 13 Oct 2020 17:25:15 -0600 Message-Id: <20201013232519.1367542-6-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201013232519.1367542-1-mathieu.poirier@linaro.org> References: <20201013232519.1367542-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 --- 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 85f2acc4ed9f..fca982b61c3b 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -345,8 +345,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; @@ -820,7 +820,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