[PATCH -next] agp: Make agp_gatt_table static

GUO Zihua guozihua at huawei.com
Thu Aug 3 02:08:20 UTC 2023


agp_gatt_table is not referred outside drivers/char/agp/generic.c, so
make it static

Signed-off-by: GUO Zihua <guozihua at huawei.com>
---
 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



More information about the dri-devel mailing list