From patchwork Fri Nov 20 21:42:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 11922633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6652DC64E8A for ; Fri, 20 Nov 2020 21:43:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 044E42240B for ; Fri, 20 Nov 2020 21:43:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BQ2mStle" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728398AbgKTVmv (ORCPT ); Fri, 20 Nov 2020 16:42:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728348AbgKTVmv (ORCPT ); Fri, 20 Nov 2020 16:42:51 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 472B6C061A47 for ; Fri, 20 Nov 2020 13:42:51 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id m9so8447104pgb.4 for ; Fri, 20 Nov 2020 13:42:51 -0800 (PST) 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=C0V+Pj0ilaPOi+EzL05tF5APIQBX5vdWZzPetY3Iqd8=; b=BQ2mStleSEb6Vq7fzNOMEORpABuWVGX+OVYNXDrlZp3laXuQdzsp9CL9/KB6iKm3rA nqfv+WVK8PJkSdGFgUi0aDPkFlMCwi1HF9KqtfbGeCsQq0DzBcHFkmIWE4AtX3wz8MBN DiYMbLLeqYauKBa0yOzr5j0vfaGhAb/2QrmnH7QJtYAdSCXOJmAS5DUkoxUDpTBr2pYY yTP8+dy/EaoX4wy0ICiAVROMdEUwnF3E2iAemXTCAptqHKa+6l9Ba9092asqFdob7nNa telokoOdqILySOLocvqK2iftTdRweQ8IpdvSYbnWI6B6aFXeTEszTf/5qcg9aoFoyKB7 8TRw== 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=C0V+Pj0ilaPOi+EzL05tF5APIQBX5vdWZzPetY3Iqd8=; b=S4Hy9QmQuVl0tA+qRlH0tdKPSU7SUkEYmzCLd9Lly135KXIkO5beZERQuCIf/yLuDT uzFhHKothbNgUW03KT1NI0xcvfbSFFxfhp3IUvoEygWIHHzsslEz+BKiDFE20KZNQii9 zh3i9k4KE5YpCzcb3PZBzFuqedVTaJ6aO3cYhiiX6BhuSduolvt2uOd7A4dQ+LNEVkY3 oKH8o6EeH9pJaRDlJjkjCjTO5NIq955Dijj+Z+Rjpu+wzzeGUF5/NCgheFa6TPyWjtyh CqO5SV90yhSCJQUh1ROy8f/5sDkoMWnlOzMf7GB7xtYQj4qj2jKgo3SrhqSovK5CoFaq RVkw== X-Gm-Message-State: AOAM532vkpicGK/EtVPfBTy71Laxj6PQJAmbB04m99l3h87sesj2QocM mABThsMjt0dsX4p1vj9GzU0UzQ== X-Google-Smtp-Source: ABdhPJx0An3b+R1I2ZHms+oK4lKIOFr0gTovvFhZajuljF8WtiMdqH3URsRuYsyzOHedVl8cGBVecg== X-Received: by 2002:a17:90a:b118:: with SMTP id z24mr13018704pjq.102.1605908570843; Fri, 20 Nov 2020 13:42:50 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id e8sm4713197pfj.157.2020.11.20.13.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 13:42:50 -0800 (PST) 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 v7 4/8] rpmsg: virtio: Rename rpmsg_create_channel Date: Fri, 20 Nov 2020 14:42:41 -0700 Message-Id: <20201120214245.172963-5-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201120214245.172963-1-mathieu.poirier@linaro.org> References: <20201120214245.172963-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 20d0cf909bea..2253936593c5 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"); }