Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1600099pxb; Fri, 20 Nov 2020 13:47:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAZUjIWZ3/aDIPxCsSkLmn3Dw15PUoWvvsnFpZV+uxVOYIA+8mnn+3H7JBfzIxz2aLhH0e X-Received: by 2002:a17:906:8485:: with SMTP id m5mr36118265ejx.205.1605908852027; Fri, 20 Nov 2020 13:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605908852; cv=none; d=google.com; s=arc-20160816; b=VqXLZerBYAhLVECmqqaqok8x+w2iGpnMRgiGW/xA481xdet2yecbVgWVOxX0/oL2+t aA27DJODmcOcSdypNavHW7/PUEe0Zg33wGii4VBp1AO4jQr5OcDLE3jFwyCY2dqwjWFV WbTcGyhvOCSGDn05CbzCbKCa0DkCT2RO9VYmKl0k2S9FBaqOAXx2oambmOl8RvZn+AwV 5F9uUhQIGlHadbApt229N4elw1VTOVrDvIGEDx6Slq6yAsQepYx7ZD4Ht0JEbTNS3e2c W49NvjTNDLbEO/+cBbDY2meK0q2Wul2pfJGF9bmp4DGz2mXmEYitMhrjqmmAUC7ePTLx A4aA== 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=lYYJvG1UVAXBaFUJWW/bHj6q42TaQt15evpr/zqjaX7lNsJytlZagirxFeNQmAOMvM izQ4Jj6hDSiuDNNpY58fqiO4ShHIs8Ya49w+YYCi/M/FOIW2SD9CFCcbTrs0ZaVTy62M UlwJ2AiY+tsY7D70LxKvdGigQudQGKq1+iQIiLd6nRBU5V/GBDiDM32qDyK+Fp4EfmiW hquzCjtgzevXXhr0CiTy5sIDT5hDGyT3GyvLNKGtjhyNF1jXHWlLqF+YtzTCrH2Elgo5 H7JchmdlL+FbxrSTzdscxqDBdzb46guZUUysfvJijH/kd4YW+qeeberdK4jKmpyh77lq 4yeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BQ2mStle; 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 df14si2439069edb.73.2020.11.20.13.47.09; Fri, 20 Nov 2020 13:47:32 -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=BQ2mStle; 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 S1728348AbgKTVmw (ORCPT + 99 others); Fri, 20 Nov 2020 16:42:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727904AbgKTVmv (ORCPT ); Fri, 20 Nov 2020 16:42:51 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 453F5C0613CF for ; Fri, 20 Nov 2020 13:42:51 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id j19so8432872pgg.5 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=LcsmCDZAq2n5EMXOvqHJIsEgAeE4rzbNhFY1qRDElFNxqp6LOzt9R/l3LMXoRlH4+i OJEiIAOkN9J3oM00SC6JhBViClrYAbWP8YdQYFhoKnwTTg0UOdVBlap2xtLZ7JABN/yO F1jTJGeX5RJkLL0FqHMQsuZctpNMIJOmTURlJT2qR+KAn2usR6BbRLOdwSzHSND/lXzF C2dAsVRE6DB0pKq96Io/ciYKcupUljTAXSHCT3t36HdVd66sGLZ+765uyvpeDauvgpz7 8Z7k2/99jBW88ShC+8OC0K29wZbEwztbVv4L71kGcOAs+ghCsV7gagdxobDsJhNUsAB2 BTng== X-Gm-Message-State: AOAM5322sfihLxewLew5eiimY9l2yrW0gQbkdAQi4OdrA2VNiNFq0IsK oTGfMFDMtE2U2wGoUmOM0IKq8XmKTQBRHA== 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 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