Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4220242pxt; Wed, 11 Aug 2021 00:17:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxh2zfPPEhfAeKbdTXEGiXzRF+CPmx9NBHFSdLN8jvHF0bEuKLAZAgQVCJe0S4E94x1jfp X-Received: by 2002:a05:6402:cae:: with SMTP id cn14mr9798395edb.31.1628666257573; Wed, 11 Aug 2021 00:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628666257; cv=none; d=google.com; s=arc-20160816; b=NJiPjrwBOB0xkiFxdwHgxpeiYQnDbiPxhLKJjjx2iczWBQd7phMfgpHqvZm7PzpagG 1TPG0zFGqVKvxTdDfueKYb8N6q3r8zZ5zIToAGdaaSK/7sqECjlAmLN2yjhpP/G+XTY+ sUIzvQi6gOng0XjFYAKg56m1j5nRzFLsTB18BYexKwsv4i44uoo0aVKMocEpcKZj03YO vbCzactKLtHInsMmezIFd7/stAcvpxnt05tdjwELL7UA4DQ6HaIEE+qfz1EKe1LnDQiF uW7TOPBl3FxiXs4HitjW7cdyXCzZ4ir0HpoB33YQSiAg7xXj18gK1+MjLHnttM6qi3u1 8dfQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qePfP9EW1GBUzq27srhUsJLE0N5J6Kl3GGrYQK3Z8yo=; b=KG7WihW5gVLMXfQyS2F7Ewa0iXEx397bKp3mTK+oau+3/K5vGYNVlxIhiuDsRr8ANS XChLOTNy6qyqiCnZj3od6IBqE128kadPFagC3KJr8bDvJ+N62mqe/1Y5fR9xbTA/+qQJ StfjS3KhdXndRYrb5TkZtrBYT7stDqkJOQkVGFjZ/rtKdn6hBJuZln9CRfgPnAO3mIfC u1GCa3EhJo5qqqEyPfGSqwCdvKnUkBLWBN8SHWIbHE1WQCEfbxN0rYHCSqUDv3uvIw4M lZAJMoqLksZeItQdK1+nuPMihmCPzAhxqvmkSlWJAZ2n4bLZr/D/TDYN0X7z4N2BhDx9 kmVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=n+UWQMgm; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si22859519eje.670.2021.08.11.00.17.14; Wed, 11 Aug 2021 00:17:37 -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=@chromium.org header.s=google header.b=n+UWQMgm; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235337AbhHKHQG (ORCPT + 99 others); Wed, 11 Aug 2021 03:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235264AbhHKHQE (ORCPT ); Wed, 11 Aug 2021 03:16:04 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C23FC0613D3 for ; Wed, 11 Aug 2021 00:15:41 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id l11so1485256plk.6 for ; Wed, 11 Aug 2021 00:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qePfP9EW1GBUzq27srhUsJLE0N5J6Kl3GGrYQK3Z8yo=; b=n+UWQMgmuQmQG2EekPaRfL1GukjblvdMdl3L0W6t76rUyL8BrVBwyk/RqRaD8LUFYf i+fl0JsX4mgRuhpoDAoy2mEYgondaqor4wwFp6xWnsggtcaYJpiEqRLYfWdRvANUSXCI ht3i6jqDk3nZ2tnpEf90h7o7iJuoKdtB7h868= 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:mime-version :content-transfer-encoding; bh=qePfP9EW1GBUzq27srhUsJLE0N5J6Kl3GGrYQK3Z8yo=; b=smp71YnacFDZo4t+FAAjqwOdVsq7W1jtLNgflz6sDGmz9Ou4tJQ/cjZL7rafIaNWtg GLFY6Tgju1LB6zV1GFz4wQ0sByoWBIqaYu2qp8JrWVtgLWHF01l5DxbF/P2k8ARU192n 91kD8hH2P9l+7jexLueiBAV1uRGYXyU9abubtT5E/rCPBPF2kdfkIAEccHi3uk9IVkFe 2ZWF6GfSXHDblgOUYKLeTglMsH+vOk4KSu3dQ09K8zoD4FBik8Kn+/ufiORSYXUPkn4Y +gy3D/F7usBAyUF3EG19YgN11jWBoREagNbizZpqYrV+cwQL5VI2ZDSpwE5UCbAcq6lE KjUw== X-Gm-Message-State: AOAM531AgbIVcVxjAUVb3gaIYX5hJDRwUZe6VRvdCXSutmRqCioWwf5/ gBiT3oX3rRtAAh+Ip0mgXJfH9O2VFKlDhA== X-Received: by 2002:a63:f011:: with SMTP id k17mr407314pgh.391.1628666140516; Wed, 11 Aug 2021 00:15:40 -0700 (PDT) Received: from localhost ([2401:fa00:9:14:8289:6db8:5ebc:e97e]) by smtp.gmail.com with UTF8SMTPSA id y4sm5532773pjg.9.2021.08.11.00.15.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Aug 2021 00:15:40 -0700 (PDT) From: Eizan Miyamoto To: linux-kernel@vger.kernel.org Cc: enric.balletbo@collabora.com, dafna.hirschfeld@collabora.com, Eizan Miyamoto , Andrew-CT Chen , Houlong Wei , Matthias Brugger , Mauro Carvalho Chehab , Minghsiu Tsai , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] media: mtk-mdp: make mtk_mdp_comp_init static Date: Wed, 11 Aug 2021 17:15:15 +1000 Message-Id: <20210811171512.1.I4a34d99ace27ad2fe55e22c90244d3bba2c29bab@changeid> X-Mailer: git-send-email 2.32.0.605.g8dce9f2422-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function isn't and doesn't need to be used outside of mtk_mdp_comp.c This patch depends on and is a follow-up to https://patchwork.kernel.org/project/linux-mediatek/list/?series=524929 Signed-off-by: Eizan Miyamoto --- drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 2 +- drivers/media/platform/mtk-mdp/mtk_mdp_comp.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c index 9527649de98e..2cf8f1864f8c 100644 --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c @@ -234,7 +234,7 @@ static const struct component_ops mtk_mdp_component_ops = { .unbind = mtk_mdp_comp_unbind, }; -int mtk_mdp_comp_init(struct mtk_mdp_comp *comp, struct device *dev) +static int mtk_mdp_comp_init(struct mtk_mdp_comp *comp, struct device *dev) { struct device_node *larb_node; struct platform_device *larb_pdev; diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h index e3d6aef52869..aa6442cc8c1d 100644 --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h @@ -21,8 +21,6 @@ struct mtk_mdp_comp { struct device *larb_dev; }; -int mtk_mdp_comp_init(struct mtk_mdp_comp *comp, struct device *dev); - int mtk_mdp_comp_power_on(struct mtk_mdp_comp *comp); int mtk_mdp_comp_power_off(struct mtk_mdp_comp *comp); -- 2.32.0.605.g8dce9f2422-goog