Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp848156pxb; Thu, 5 Nov 2020 14:53:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJybMwzb5/QkQIKC4xLf/1LZNS62MZpDa8tLUyUQpyprF4Qj7WYggpBX9KrxXQkeO/0fk885 X-Received: by 2002:a17:906:52c6:: with SMTP id w6mr4417985ejn.199.1604616808289; Thu, 05 Nov 2020 14:53:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604616808; cv=none; d=google.com; s=arc-20160816; b=RQhnyO6BK17cw1aH1NXfIqlJ4QQPXvPJFkSbwz922Wkhxqxxh+IROxAqz4Lixu05k2 52dX0YkhHRWlUuuwA9Tf3mqx6mO7nAvT0rNrpN2Dr47JwLUYmbnN1xSFzRVcwTS2pNqM YT+UVRhriZRrLuuws+HSgR7N/0owbeJF8eOJRzqO2dEUvmVQRdXjTBF4knKfRQtV1daf dX/fD8TZ4ThPAgk9JPf2qWAR4++H4GeDXgv8MbiT+JTo7YKeArmVszxsuokUlk/1Mvb+ miMAqrzZKpc9DokPDq0ukJeDFMHSizHNY3odsFLd4liVLQ2bJINjzNUzzd7tmxA1f1xF hnig== 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=C0V+Pj0ilaPOi+EzL05tF5APIQBX5vdWZzPetY3Iqd8=; b=nx0jiaGJ61LIexEEdCPHI4KF+9nSiHa34kVxgPSTB0y5VV6S5B4JrbPP8kJV2to9g3 py7K7g8oBZ1DpXaUSMzHoXjqd1xZ4VwEh4xT/nkDPIgStd6umdy1+dNNxCkhDKnbbTwd PKUqS1voU9UWPLjsGnxsxldhJegAmxKmzyw9YMaqz/Y95l7x1N9AB6qzh2kI8Z9MqnDL TliBP9GFr0qK5ZxPOtHDqLFPENNF7D5tyu7p4/Z2OomHqMW7XHeOu1jC3sUxS8ImjKD7 VzFZgMSbxPoN409tAuA10LU60oWtAubIIdMWlrd372yB7MsfAxO1T7CPI36iClLN4FTK GmdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXSJkj7c; 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 bi24si2042701edb.452.2020.11.05.14.53.04; Thu, 05 Nov 2020 14:53:28 -0800 (PST) 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=iXSJkj7c; 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 S1732625AbgKEWu7 (ORCPT + 99 others); Thu, 5 Nov 2020 17:50:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732425AbgKEWuf (ORCPT ); Thu, 5 Nov 2020 17:50:35 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1099C0613D6 for ; Thu, 5 Nov 2020 14:50:34 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id z24so2401344pgk.3 for ; Thu, 05 Nov 2020 14:50:34 -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=iXSJkj7cHwi+eyj+HvmVvAtHEUJFtbp2KmLGkOLKuWng1OQwBkkROIXC/oZRxV5NHe cwWxJNaPmAfkA8IQFiQs8ZZiuh2g5ikiy0gneq8kqHe3jqpc8PtrTqffBzzi4Yn7UylT 4f+RPTLzoolwnl5A3SVezlHur4yDrz0B+f3OpVuHbWSWP9Fw5qa9lw3ef2FOCO+NdSTu s94EcLzKn0f8go3yDPGJEpOSyhNjNARSMFkZNaSOICLtJkuguuQQKJICRYePKMR8biXp lmu4rTbHtd8H5WgEobDGaWZXcM4f4gkcg67lpgYCzO3u/7b44Y5mplLhsKLdTVDotzQV TXTw== 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=A/4cUUvWmiRl2R3q+yTYzSFuYjcIJkGMoNZHbz8OrWTvOwta5mFV6jSGUbyWzIP8VX 71wAq0eaS59Q0YvfHh2ioxxAVp1mQp3avz1yMoz2+Mwy5gqnH2GymxKT6Vh0pwu7lmOT A1oB1Z1wqUAcc/HOevPp9W82axP8FchgHtWrSv+qDKE/sD7rRi0Y5EXdS1k+mnkQf/7M Kcn0C8/rOTlIYR9+nGp6UYuFIYpDtJS2Cx7igst8qjjmWPPOPKUxyQjmVIvj5HsCEozL DP4XTk7BTo7qHmf3E9eOdk6cA3QmupDkCtKi9WESaFO2C4L8CxzmDDdGEGDl3WysshJv cgkQ== X-Gm-Message-State: AOAM533KjyNVJqLoSgjpAso6RkgHwXj8NWP14ri0tVyAhnhy+J68pzyy oLWeeb26pEehP8FroZ/iFBpU3Q== X-Received: by 2002:aa7:86c9:0:b029:18b:b0c:53e5 with SMTP id h9-20020aa786c90000b029018b0b0c53e5mr4510758pfo.57.1604616634420; Thu, 05 Nov 2020 14:50:34 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id d145sm3854501pfd.136.2020.11.05.14.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 14:50:33 -0800 (PST) From: Mathieu Poirier To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: guennadi.liakhovetski@linux.intel.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/8] rpmsg: virtio: Rename rpmsg_create_channel Date: Thu, 5 Nov 2020 15:50:24 -0700 Message-Id: <20201105225028.3058818-5-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201105225028.3058818-1-mathieu.poirier@linaro.org> References: <20201105225028.3058818-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 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"); } -- 2.25.1