Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3812084pxu; Tue, 20 Oct 2020 00:42:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUAnh6vnDoHvNF4ZAutzhn08XdHPd608ALpASCvUBHR+pRDYPQMJAXSnHhnL8uvIzAbLyE X-Received: by 2002:a17:906:6d89:: with SMTP id h9mr1747932ejt.152.1603179777697; Tue, 20 Oct 2020 00:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603179777; cv=none; d=google.com; s=arc-20160816; b=rYyDEh5whV6g917flAOtpNlSfF6V2KVI5b3ECGo7+BMFRL0MaJ5jx6r34Y+M3lAr8Z pS3u3PNHyGOWuNfktE4cziCLtzjDZoQob+HtUXCM6bG/O34EGRDQTaAD07yMd5yNa2JX /RKQzoFbtGsRImEXJs2PkUyjZilZwyKvB0C+iwiXn5kTpXe8BL0gDs3akONwNP7Z7gw2 fpRhVHwypLplVxvblkcfnKNtBhcS182doYV1FXlxpEV+ZagS+UFrHomwwDXXGEPSFfYp c25pdUaozHUEIf7pcXJ1uJ+lA3mA3iTUtwmHfEf88CNH2Jbm2WxXN6FbW+0nYsszxeLU jIog== 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=bxZa9s3oSSL/Q1unOxCAuuw1fDc8JLZ4khG8SJugP2E=; b=xTiezRLo7JGSiMTMVzefwIg02TyGZKxEfVyL8Vmg15Dk+LKv7ByYN8JVD80p8l60gG RfeIAIv2QsEBtvw+6pxfGTjQGYcFvzHwTTXDzSCYR5o6sFofW1ihhmoIWxA/KrVtkd73 JT6mhIcsVCNTk0OdGXkANXcm8dQswlDAIyZ40edSpOtVZiLKD41Ys1OFnGAL0s4WIRnp ztXA21loc3hGZLliOZvci/ZBsjhjk5xewyqqXtw3OxeZGZy48XQIIZSFPh2nN5TaTIJW XQzp8oRMLs14Z0TYVVbTqinv8MoDx7vJADV2RFu3fDI6mCMHPAPlmWPj+w2yohDyzIJh pgzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BbUe+t7x; 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 m26si596615edq.372.2020.10.20.00.42.35; Tue, 20 Oct 2020 00:42:57 -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=BbUe+t7x; 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 S1731695AbgJSUeu (ORCPT + 99 others); Mon, 19 Oct 2020 16:34:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731740AbgJSUep (ORCPT ); Mon, 19 Oct 2020 16:34:45 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF26FC0613D3 for ; Mon, 19 Oct 2020 13:34:45 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id a1so460713pjd.1 for ; Mon, 19 Oct 2020 13:34:45 -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=bxZa9s3oSSL/Q1unOxCAuuw1fDc8JLZ4khG8SJugP2E=; b=BbUe+t7x9QiSM2wpjhvSiX0oaQ0NFzCemOK7bqR2s5f8nomLdRlzd84Xqw6YH/uuUC 3PNs6y0vpnITzWrOnf3S8Ihll48mN25ii0W2s4r2rDa5Byh7LoYCLRyeYknMo9WnhdCp ICYZsAQC+dKkjOTCVsEDGS73haXtmhs3QFPIPmLS0GcK5Varu3XDSvIQrvX1ObPX4+Qm I/7CZG2yWT2Ud8XlEo/XviX/SATL46Y0pNJ3JjtFlky+PEbytKWDFg6cygdumg4KLlD+ jp2Z3EPM3RhwEjvJ3ee8nOYrC2wQ6y+O2i7QRcxZ17FNDVMa4J3darSg2S+Jwm/CqWSF N8nQ== 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=bxZa9s3oSSL/Q1unOxCAuuw1fDc8JLZ4khG8SJugP2E=; b=oxnmiu3rJ42Txe8iLAtMuLOAuA+tfVAhxLZKtUx5ft5ytDH5bn2I4eDaDMfhQWDhH/ FlL9qVKAdCmdAWV4ruVfMI5VzsXClMBYWgH7kuUHv8REwjVE/QQYxNcy91LYX/yqwSrS 4gbVWFmbxLpPaQFLPGZB9YlkXm1KqdU3qG0mPpzVImYyzA6V4IM9mrqq+PE8fin1nIIF WYULyvY+mjVV88NNNxnPByFA2eqqSgpKBzReLR5WvvQOOu5cjdxBT/RUPSCVvbUGI0w4 Otz/962zdBUSvDG3VnicnoF5hLad9N7+mBKwgUfF0xBSfNGDg7CfkqEJr5332a9VcTEE QaYA== X-Gm-Message-State: AOAM533Y/HdgAxmILlbu6LJi4U47NngADT6gfxpSoMRqFUqNr1fxDXYt sx9vGFYYxTYG6pXZbKtC2AmoKw== X-Received: by 2002:a17:90b:378c:: with SMTP id mz12mr1176017pjb.137.1603139685441; Mon, 19 Oct 2020 13:34:45 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id q123sm631847pfq.56.2020.10.19.13.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 13:34:44 -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 v3 4/8] rpmsg: virtio: Rename rpmsg_create_channel Date: Mon, 19 Oct 2020 14:34:34 -0600 Message-Id: <20201019203438.501174-5-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201019203438.501174-1-mathieu.poirier@linaro.org> References: <20201019203438.501174-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 1f8154ee1e90..bd5baa0dfcfb 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -360,8 +360,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; @@ -837,7 +837,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