From patchwork Sat Dec 5 09:11:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 338411 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp1156131jai; Sat, 5 Dec 2020 01:12:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxUIZd7xYSRTCJfxeh3usB+uIj2JkB9wRqEkqDyX1MH9XTC7SliQEZfAPO5J18yEAlB9Qs X-Received: by 2002:a17:902:b181:b029:da:c5e:77ea with SMTP id s1-20020a170902b181b02900da0c5e77eamr7390688plr.18.1607159520418; Sat, 05 Dec 2020 01:12:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607159520; cv=none; d=google.com; s=arc-20160816; b=EfYKo7+m2S1APDZrRpw60GlD1T69+UfCJ/3Vcem7z8ZxbQj5RHEXhcXAXh3s118QS0 +xx3mCqYl2JBg2qtsh0ESeXF7zmdzUjVXIVFobUwi4JoJH2wjmge9rq75AogdJfPv+eB YKxLlPQI7oLI7hdHZ6Y16JYdZGdypbUKDksiP+DMAQJCHVAeA5PYtKA1QWDdhB0mesdh a6tCb3GnZ2QBaCEdXznieUs93GEBHryaukSASXWc+RS+Irlv7DUeDvhNMJzzBjfL2nU7 xyI/dMDHqQ7Zjbr4hL5PymyXe4XynQZuQ2R5nxHid6hBDXE3nzmaWzKPsOJTGwNL790R TByQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=lgyYH2hyV/xAzjV8ofl/+oIasdisRUEsrOaWk+tVAm8=; b=ZUQe+X1xQjM+Q/v6eHYYuCejzKZQlwERUW/FeAxjfUMhR6PvIOuM2bBcX5Z5rxq4xu lZ/mtqujayCUDa0/3Sk45pfdDHnCrQC7EQg1NRH5Ahgs54YYhdi2A3GFjuimOieQJluN NErnD/ATJvtazTxKA2AdpVwe+PiVol8N6fRUCEM9xSEtJ5Hfoh1c8jsPytPXtLoz7axm m9ZNKOET2gGmBVo+zarKGyTDehb1u70QV/eD/MCMg9pO4uMNGFkFJmj1wR0y4Jh2+gmB KESdh5F30Xq7r3fI9kY4yl8vAKORSm2s4zh1apOsXF+Lic8VcQNDyRwNGhx1fHt+OpEs aJlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v2si3350751ply.73.2020.12.05.01.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 01:12:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C66D46E3FC; Sat, 5 Dec 2020 09:11:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 01FB46E3FC for ; Sat, 5 Dec 2020 09:11:55 +0000 (UTC) From: Vinod Koul Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Kishon Vijay Abraham I Subject: [PATCH] phy: mediatek: statify mtk_hdmi_phy_driver Date: Sat, 5 Dec 2020 14:41:46 +0530 Message-Id: <20201205091146.3184305-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Matthias Brugger , Vinod Koul , linux-mediatek@lists.infradead.org, Chunfeng Yun , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" mtk_hdmi_phy_driver is not declared as static, so statify it. drivers/phy/mediatek/phy-mtk-hdmi.c:204:24: warning: symbol 'mtk_hdmi_phy_driver' was not declared. Should it be static? Signed-off-by: Vinod Koul --- drivers/phy/mediatek/phy-mtk-hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Acked-by: Chun-Kuang Hu diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.c b/drivers/phy/mediatek/phy-mtk-hdmi.c index 47c029d4b270..c5c61f5a9ea0 100644 --- a/drivers/phy/mediatek/phy-mtk-hdmi.c +++ b/drivers/phy/mediatek/phy-mtk-hdmi.c @@ -201,7 +201,7 @@ static const struct of_device_id mtk_hdmi_phy_match[] = { {}, }; -struct platform_driver mtk_hdmi_phy_driver = { +static struct platform_driver mtk_hdmi_phy_driver = { .probe = mtk_hdmi_phy_probe, .driver = { .name = "mediatek-hdmi-phy",