Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A7C0C001DF for ; Thu, 3 Aug 2023 07:21:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3D8010E59E; Thu, 3 Aug 2023 07:21:54 +0000 (UTC) X-Greylist: delayed 1032 seconds by postgrey-1.36 at gabe; Thu, 03 Aug 2023 02:26:09 UTC Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by gabe.freedesktop.org (Postfix) with ESMTPS id 049A810E212 for ; Thu, 3 Aug 2023 02:26:08 +0000 (UTC) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RGXLH5nQ7z1GDSK; Thu, 3 Aug 2023 10:07:51 +0800 (CST) Received: from huawei.com (10.67.175.31) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 3 Aug 2023 10:08:54 +0800 From: GUO Zihua To: Subject: [PATCH -next] agp: Make agp_gatt_table static Date: Thu, 3 Aug 2023 10:08:20 +0800 Message-ID: <20230803020820.17414-1-guozihua@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.175.31] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500024.china.huawei.com (7.185.36.203) X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 03 Aug 2023 07:21:52 +0000 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: dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" agp_gatt_table is not referred outside drivers/char/agp/generic.c, so make it static Signed-off-by: GUO Zihua --- drivers/char/agp/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 3ffbb1c80c5c..758d11ea2af2 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c @@ -44,7 +44,7 @@ #endif #include "agp.h" -__u32 *agp_gatt_table; +static __u32 *agp_gatt_table; int agp_memory_reserved; /* -- 2.17.1