Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2958239pxb; Tue, 12 Jan 2021 02:53:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5tGv1pg/4lBozUOhCRQSRpYYc6fi6sdyfFG2zHhz46kByp5WAftg11TBRQv74IX8dUWSH X-Received: by 2002:a17:906:358e:: with SMTP id o14mr2679009ejb.526.1610448794774; Tue, 12 Jan 2021 02:53:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610448794; cv=none; d=google.com; s=arc-20160816; b=dzm4/PL6Q710Bl8LAxW+PdNj7mNpGeuGVypcJC/NBy3ZwwlJpwXQFvtCV1V4iex5fh uKDs+dv9/suflOVcXllREC3lbZ6qSm+6A3777LAONDjKFNFcO9R1jIYMEniboq2vEIQY +STmZm4HCsTT9howVGfKtTkXQh4S8VoxGKyBD1hDTkGysGOotQO+U7L/bNVXzD0pBAmJ XMtXGD95yopcNf7epxSAasH3/hFi+KJwGLgTgmpbp1OGCIaZOS+zm4UuLk04hTNcFBM4 x/CnuJRfL+4gZi4TgUm1lvtTRzjRQ8q/Hg1RHWPxUHV4yjFKWzSQQMcm84Xj5XCs+4+C NoEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=XvH66gqZaNC5JpTRBEbZ+IBt7xQL+qCrckEj9E6qd6c=; b=JclprcFZb1iD6Y2vkcSN4xYKul+0UWgd2DpAxyzyFF8IJUNNNUeLP5O0sM+mEtRVdp zC3zMvndUKis5eKShdKAb/ex0DxRQ4PQTCIqV0TE1UjLM+hFDEN2e3/XwZ8z/4PxPGPH iUNwlnGZz5Fn6Nf4PQz9ZkU1POnTGbuqLzGNqpB9TLAVJyAOn8Tkw3BnRgNX9H+sYNRK 6RmXlAbJXUAQyLMR6Bk8p2tPRunDuAKp0u3vIk71321wPkYk4F5NmhFBxHvZ+14AgXVo +P0EzNdaGL0btG+cEDw8jMnSagICc381qvAEE7QWRq/gnzmyLx23EMUBGSXzgBofSe/X Hkiw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si1202433edi.191.2021.01.12.02.52.50; Tue, 12 Jan 2021 02:53:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729689AbhALB2C (ORCPT + 99 others); Mon, 11 Jan 2021 20:28:02 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:11090 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729662AbhALB2B (ORCPT ); Mon, 11 Jan 2021 20:28:01 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DFCZc5jmFzMHyW; Tue, 12 Jan 2021 09:26:00 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Tue, 12 Jan 2021 09:27:09 +0800 From: Zou Wei To: , , , , , CC: , , , , Zou Wei Subject: [PATCH -next] phy: mediatek: Mark mtk_mipi_tx_driver with static keyword Date: Tue, 12 Jan 2021 09:38:04 +0800 Message-ID: <1610415484-92497-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/phy/mediatek/phy-mtk-mipi-dsi.c:237:24: warning: symbol 'mtk_mipi_tx_driver' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c index 18c4812..eeb357b 100644 --- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c +++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c @@ -234,7 +234,7 @@ static const struct of_device_id mtk_mipi_tx_match[] = { { }, }; -struct platform_driver mtk_mipi_tx_driver = { +static struct platform_driver mtk_mipi_tx_driver = { .probe = mtk_mipi_tx_probe, .remove = mtk_mipi_tx_remove, .driver = { -- 2.6.2