Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7075417pxb; Thu, 18 Feb 2021 00:10:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEFt/1kNIBvQeJc9eqshQg9NK0UfjTlYwBW/D4JX910OZkBNKm5RWhYm7qxTbqj+IQi94E X-Received: by 2002:a05:6402:c8e:: with SMTP id cm14mr2949268edb.6.1613635814397; Thu, 18 Feb 2021 00:10:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613635814; cv=none; d=google.com; s=arc-20160816; b=oE9Il9MFSi9nfG/0wJDS+nJHffGF0ksqiEjKsy9F/OeE7c6z47GvQ8eGW3PrJK9V9k 68WE6maAiyQ0qR2q0HYNdr0W9Of306Ih+YanxHYQZ+zW0UsgB3K2DUE7bjzFLFo1g6Fo D98h9f5O9DupvZoEP9u382HLdCLVPuvpdfVFIeED8MZ+rPHkUdeJyHogrUGxsVKiZ8h7 LMl9rxQQaft3ORrirv9e5NU/lGclkqfyoAsBxr03bZU4FiZOz7PoxAeCkhFr5Cl5kyIa KdPH3zHoXuWyPsTM/wMzm6o7XXkdUi5f8THCEiBciVMGb3uD39tP+TcohoS81rijVf1o tvhw== 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=Ed5krehtbzRGA2XSw8tysWizXrjugeHvq56Kqu5GeUQ=; b=n9Oa+O1SZXjuPaqP96YoadXYxoJ6TAR3/MExW8YGAENjsUvadKs7JNZaiET5/LyHcy Sdicx3BQTORh6Rn87nFG7322FALuotRfFKFfN5eTF8+O/vEmb2vvQC9drdSjh0yiwb9V cbHlNtsBP71eWVmbGXOsWh6y/ZSdvvSlVaNPHrPruv+3+cz4otQHO/Lqqp2vmoN7Wm9D BkBMu+7C55pjyMw+6hv5Hco/pYHGT2HVPQG6T/UX79ibRbdZeiNppQXITizsJUFVbs9c PLUcIsFT/MX0Ng1uzFzb2LZ1KmDw07Iczw4e9ZU8ue+Nv2JRRMZVAqi6ruOYVPgzM6cK ZilQ== 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 k7si2390150ejs.165.2021.02.18.00.09.49; Thu, 18 Feb 2021 00:10: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 S231279AbhBRIHc (ORCPT + 99 others); Thu, 18 Feb 2021 03:07:32 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12617 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230469AbhBRHNp (ORCPT ); Thu, 18 Feb 2021 02:13:45 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Dh5TM56VGz168gn; Thu, 18 Feb 2021 15:10:47 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Thu, 18 Feb 2021 15:12:09 +0800 From: Zou Wei To: CC: , , , , Zou Wei Subject: [PATCH -next] soc / drm: mediatek: Mark mtk_mutex_driver with static keyword Date: Thu, 18 Feb 2021 15:28:19 +0800 Message-ID: <1613633299-88332-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/soc/mediatek/mtk-mutex.c:464:24: warning: symbol 'mtk_mutex_driver' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/soc/mediatek/mtk-mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c index f531b11..3a315a6 100644 --- a/drivers/soc/mediatek/mtk-mutex.c +++ b/drivers/soc/mediatek/mtk-mutex.c @@ -461,7 +461,7 @@ static const struct of_device_id mutex_driver_dt_match[] = { }; MODULE_DEVICE_TABLE(of, mutex_driver_dt_match); -struct platform_driver mtk_mutex_driver = { +static struct platform_driver mtk_mutex_driver = { .probe = mtk_mutex_probe, .remove = mtk_mutex_remove, .driver = { -- 2.6.2