Bladeren bron

make RTL8169_READ_GMII_REG, RTL8169_WRITE_GMII_REG static

tags/v0.9.3
Holger Lubitz 17 jaren geleden
bovenliggende
commit
77ffd636fa
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      src/drivers/net/r8169.c

+ 2
- 2
src/drivers/net/r8169.c Bestand weergeven

@@ -400,7 +400,7 @@ static void rtl8169_hw_PHY_config(struct nic *nic __unused);
400 400
 //      20-16   5-bit GMII/MII register address
401 401
 //      15-0    16-bit GMII/MII register data
402 402
 //=================================================================
403
-void RTL8169_WRITE_GMII_REG(unsigned long ioaddr, int RegAddr, int value)
403
+static void RTL8169_WRITE_GMII_REG(unsigned long ioaddr, int RegAddr, int value)
404 404
 {
405 405
 	int i;
406 406
 
@@ -418,7 +418,7 @@ void RTL8169_WRITE_GMII_REG(unsigned long ioaddr, int RegAddr, int value)
418 418
 }
419 419
 
420 420
 //=================================================================
421
-int RTL8169_READ_GMII_REG(unsigned long ioaddr, int RegAddr)
421
+static int RTL8169_READ_GMII_REG(unsigned long ioaddr, int RegAddr)
422 422
 {
423 423
 	int i, value = -1;
424 424
 

Laden…
Annuleren
Opslaan