diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 53dfc8c7525be5d98a5cb45b9a80d7118caf54b4..6a23964c1317469f35200dc8d0a1deb3f654e15d 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -1092,7 +1092,7 @@ static void rhine_check_media(struct net_device *dev, unsigned int init_media)
 }
 
 /* Called after status of force_media possibly changed */
-void rhine_set_carrier(struct mii_if_info *mii)
+static void rhine_set_carrier(struct mii_if_info *mii)
 {
 	if (mii->force_media) {
 		/* autoneg is off: Link is always assumed to be up */