Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1083096imm; Fri, 14 Sep 2018 10:53:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbskvPGOF0pNQLUPJU+hDjDsy9ccti9G+N6IQOsmdo6yBhy9yzr+XV95iMMPRmw0De+DFVL X-Received: by 2002:a17:902:9f90:: with SMTP id g16-v6mr13391283plq.34.1536947627025; Fri, 14 Sep 2018 10:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536947627; cv=none; d=google.com; s=arc-20160816; b=0aoL+/oW0JvzFgnXp5XMRShqTw9qcRKv2a3dbl0mJUSUomQtNlPRGpd+iLPQrjShIt yzvUjWU9zwyd3QS4yVYd3JdOfo+o2DebeqxvJy6jeiD2zwCIht4OaHE2mjeittR/sRSz RqmBNBcli2lpVUWt3Frv3qDqR9WyZmaAXrCEMcOJHYNgKfWNuoiTgtYFsvEuNJhhaH+v 2sD0YHS9/vUBb7h1qYaGHdu0UX1gwL2ITPDPHIWPgcEtBlhpuqhGIdEeaFGSXViUPees qncWvIA2R2I2hxadehkBN/ZoS6JFC4bI60rG8racd0v+WJtMV8ry/PptLvZKzBud2C/q lZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=mwIMz8FNHqYXOj3Q67DF3CFhIjF6xKD9MSrMXBKndqg=; b=OyyQPNkz7tUksPGAgrmvJHam6x6J1SnD6nyf6dvjxOniRV4VrDHAfYxOJcVSWtUun0 SKKNaYzV8KhO0lWQmS2+fz7RoeDRsTmXH+CAkjJwd68WPVjrz8zmpgkbvqtrwp45E4yH tojAxyee0B+NREIWnmAXoRTHS2MC+leE1RkDsyIK4lGdwwkT2uuv1u1anY5+svDVDFZ/ EqgQanM8hfQMvxhouxnP//iyg8t3eS1mqz6852fG/XI/CMED1+dDe7ldRvDqXJz6ehrh 89VkrU3IVqVkkcGwRRz5iehVaI36gBy6LLdYFfGO/OVh1p3N+9vjcYoM7n5wdKD7yjSR /HiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nY85CEiW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1-v6si7522447pln.63.2018.09.14.10.53.31; Fri, 14 Sep 2018 10:53:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nY85CEiW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728476AbeINXI0 (ORCPT + 99 others); Fri, 14 Sep 2018 19:08:26 -0400 Received: from mail-pf1-f201.google.com ([209.85.210.201]:56342 "EHLO mail-pf1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbeINXIZ (ORCPT ); Fri, 14 Sep 2018 19:08:25 -0400 Received: by mail-pf1-f201.google.com with SMTP id a23-v6so4951147pfo.23 for ; Fri, 14 Sep 2018 10:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=mwIMz8FNHqYXOj3Q67DF3CFhIjF6xKD9MSrMXBKndqg=; b=nY85CEiW9Hjvt6I7lHjhegjUG6OPpd2CWSiY94pbC3CecUVtGdOcL7s1bUQl8skP9M XCnOsEIxkyOB3d9kQoWpT2gIZBz/d59qrRwn1KfYVWu62l6+byx2sfGa/kAzt7GInjWh q4zCFhhFUqBP5rmWyVUl2IMtIFKSMwN+CdILBpuUUM7HDK6uC4mUklTELnrJQczjPTET olO/I6+OTIlbkuQxhjQ+F1tmzwENET/DoNY3X+mwRBRXRkKgRgT8wzLhXam3mScQcRVH UC2Sk3cX2fDaATI65QTAYRCplphBm+4OHCAMBUfjXwcr4v7yPYKTd2mi26VeBsppod0t Dw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=mwIMz8FNHqYXOj3Q67DF3CFhIjF6xKD9MSrMXBKndqg=; b=JfChfYRBG5NYCL3LOsfHAJ4wAlw6FeAN3gcPAKtxLR5W0hMW5w8O2n87BPnGnPehOa 5E9OpHu0yk9rY2k/YmCeVgUkEE6X5NDAgl+aPInTwW6IHI73wBAjuYirfIuY2ISujWDB 3Bs4LiUDoKnNoOPje8NujWbyh3HNl7ZpNW2nQI5GeNMdAbl0UWdu9o3Q2L8hXb2H0LZR uBwjDusgkkbxWNa6M5ebfyD8ThurFprCButtn5ZTDatuFprbd4ygRvfxvUpoe9o1eiv1 gIiVLgf+esHxEF2DaCpOEkajAIYIIJdrIGA7MRPeq6sH9szQJwcBQSvE1L4hyT8RJ5ra vrvA== X-Gm-Message-State: APzg51CK614Zf3X9msGn6Q0bLoxZ97M+jJmgCmLGnjZYjTdocS+c4wyD slsuhZBvgemdX8XF+AYACWQeBv9K X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr653886pgb.140.1536947571981; Fri, 14 Sep 2018 10:52:51 -0700 (PDT) Date: Fri, 14 Sep 2018 10:51:16 -0700 In-Reply-To: <20180914175122.21036-1-rkir@google.com> Message-Id: <20180914175122.21036-15-rkir@google.com> Mime-Version: 1.0 References: <20180914175122.21036-1-rkir@google.com> X-Mailer: git-send-email 2.19.0.397.gdd90340f6a-goog Subject: [PATCH 15/21] platform: goldfish: pipe: Rename the init function (add "v2") From: rkir@google.com To: gregkh@linuxfoundation.org Cc: tkjos@google.com, linux-kernel@vger.kernel.org, Roman Kiryanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Kiryanov This is the v2 driver, in the next few patches v1 will be introduced. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 6 +++--- drivers/platform/goldfish/goldfish_pipe_v2.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index 802bbf0d6d23..8a65cdfd6555 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -108,7 +108,7 @@ static int goldfish_pipe_probe(struct platform_device *pdev) if (WARN_ON(version < PIPE_CURRENT_DEVICE_VERSION)) return -EINVAL; - return goldfish_pipe_device_init(pdev, base, irq); + return goldfish_pipe_device_v2_init(pdev, base, irq); } static int goldfish_pipe_remove(struct platform_device *pdev) diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c b/drivers/platform/goldfish/goldfish_pipe_v2.c index 6a8641c7c36e..9fa5136be909 100644 --- a/drivers/platform/goldfish/goldfish_pipe_v2.c +++ b/drivers/platform/goldfish/goldfish_pipe_v2.c @@ -1121,9 +1121,9 @@ static void write_pa_addr(void *addr, void __iomem *portl, void __iomem *porth) writel(lower_32_bits(paddr), portl); } -int goldfish_pipe_device_init(struct platform_device *pdev, - char __iomem *base, - int irq) +int goldfish_pipe_device_v2_init(struct platform_device *pdev, + char __iomem *base, + int irq) { struct goldfish_pipe_dev *dev; int err; diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.h b/drivers/platform/goldfish/goldfish_pipe_v2.h index 679d863774a8..8be09ae6d3ec 100644 --- a/drivers/platform/goldfish/goldfish_pipe_v2.h +++ b/drivers/platform/goldfish/goldfish_pipe_v2.h @@ -17,8 +17,8 @@ #define GOLDFISH_PIPE_V2_H /* The entry point to the pipe v2 driver */ -int goldfish_pipe_device_init(struct platform_device *pdev, - char __iomem *base, - int irq); +int goldfish_pipe_device_v2_init(struct platform_device *pdev, + char __iomem *base, + int irq); #endif /* #define GOLDFISH_PIPE_V2_H */ -- 2.19.0.397.gdd90340f6a-goog