summaryrefslogtreecommitdiff
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-01-24 11:01:00 -0500
committerArnd Bergmann <arnd@arndb.de>2024-05-03 22:09:21 +0200
commit5759b57f03ca07b465dc394112d8f383ef671a82 (patch)
tree4eb00dad626ec06426dc7e2a2ea949fdaa37e408 /drivers/char/agp
parentb973afe9d805d04230f55743bda1e34ce5ff8940 (diff)
downloadlwn-5759b57f03ca07b465dc394112d8f383ef671a82.tar.gz
lwn-5759b57f03ca07b465dc394112d8f383ef671a82.zip
alpha: don't make functions public without a reason
if it's really used only inside the same source file, make it static... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/alpha-agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/alpha-agp.c b/drivers/char/agp/alpha-agp.c
index c9bf2c219841..f0d0c044731c 100644
--- a/drivers/char/agp/alpha-agp.c
+++ b/drivers/char/agp/alpha-agp.c
@@ -149,7 +149,7 @@ struct agp_bridge_driver alpha_core_agp_driver = {
struct agp_bridge_data *alpha_bridge;
-int __init
+static int __init
alpha_core_agp_setup(void)
{
alpha_agp_info *agp = alpha_mv.agp_info();