Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4388052ioa; Wed, 27 Apr 2022 02:43:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx17eBl/XrmWKFrSrK/+DyKhTlfWAtSVj9Ry3PBLQJAZuvRXLPzEN/axK0I5j8e7SVASM0c X-Received: by 2002:a17:90b:4c46:b0:1d9:f9e1:254 with SMTP id np6-20020a17090b4c4600b001d9f9e10254mr5801420pjb.24.1651052588937; Wed, 27 Apr 2022 02:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651052588; cv=none; d=google.com; s=arc-20160816; b=MQt2qzVxt31D9slQlEeKQDtBbqKMp+QqYuRD+aesauBvlAoxaaVte8fKeB6+dclfR9 KgW6mVcsiERDRIyxv9s0wKkUCiEqza3EkrUM/hSpWuoE5it+6cAYE28WqrwNdHFiNB++ Z4T9xZznhoD0VNmIEa9ezwXb00mUizbot23jOzET/J4sYI09iEz26ggFxywNZMQE//cK ZjNk/Zj9v2Ri8eLnfUYZTwhsfdyBKDham5tPA328+cuW1OZju7sa4q+FmipXj0MKhU16 Fcju0PqruuF9YDeo0sYOQwf3hIiOJTh99KkQ5qjm42GqfETWhAnxJFoT6B0z8vJCEN9c 19YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=WIswISJU0QHvxXEMCg7dkKXDKidnS97I2o1jYQ41q8A=; b=ywOTH+JYkKL0h2x5on45PYhLQ+htUvfe31TmDDi2wWklIROfxfvxlNtexwOlmotkat 2LuDIed7DujGCcAoPB6ArDhuSP/yJXPxHz1JlY5culG49aU/SLQPBsYKxfucGhlq3kO/ qaXsVx7ZRaW6PW5vFFJL2VfKCqIgpRZsdyfs+fUBkLNhmFnThclp2r5y85RZQQ5G7sJZ 02XcVoyFY4cWiuv9+3AkBtQeERpiEEApNnKJcz+pZptZDubHWIZ9JfV9W4qKyG6WyJCX Ejq0Tu+aqoXtOvsuwvBrHvqfG9wUE9Sm+0tmgCO97H+s/UzFEO0Zm2sgFMBS0+ZGkSbr hIQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r20-20020a170903021400b0015c16a75912si1042070plh.552.2022.04.27.02.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:43:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9DB2527A198; Wed, 27 Apr 2022 02:18:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359283AbiD0IJe (ORCPT + 99 others); Wed, 27 Apr 2022 04:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359414AbiD0IJF (ORCPT ); Wed, 27 Apr 2022 04:09:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C2491E3F0; Wed, 27 Apr 2022 01:05:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7D9CCB8252E; Wed, 27 Apr 2022 08:05:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18AC4C385A7; Wed, 27 Apr 2022 08:05:48 +0000 (UTC) Message-ID: <06c5c170-f39c-cd8e-4aa6-5fde56bfa09b@xs4all.nl> Date: Wed, 27 Apr 2022 10:05:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] media: mtk-mdp: make mtk_mdp_comp_init static Content-Language: en-US To: houlong wei , Eizan Miyamoto , "linux-kernel@vger.kernel.org" Cc: "enric.balletbo@collabora.com" , "dafna.hirschfeld@collabora.com" , =?UTF-8?B?QW5kcmV3LUNUIENoZW4gKOmZs+aZuui/qik=?= , Matthias Brugger , Mauro Carvalho Chehab , =?UTF-8?B?TWluZ2hzaXUgVHNhaSAo6JSh5piO5L+uKQ==?= , "linux-arm-kernel@lists.infradead.org" , "linux-media@vger.kernel.org" , "linux-mediatek@lists.infradead.org" References: <20210811171512.1.I4a34d99ace27ad2fe55e22c90244d3bba2c29bab@changeid> <484e199d23a09d79f121ea37eb9e7d95eabfd886.camel@mediatek.com> From: Hans Verkuil In-Reply-To: <484e199d23a09d79f121ea37eb9e7d95eabfd886.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Since the patch series this depends on hasn't been accepted (and using the components framework is highly controversial in the media subsystem anyway), I'm marking this (just as the patch series itself) as 'Changes Requested' in the media patchwork. If you want to continue with this, then this patch should be folded into a v8. Regards, Hans On 16/08/2021 06:26, houlong wei wrote: > On Wed, 2021-08-11 at 15:15 +0800, Eizan Miyamoto wrote: >> 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 >> --- > > Reviewed-by: Houlong Wei > >> 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 >>