Преглед на файлове

make cards_found static and add missing initialization

tags/v0.9.3
Holger Lubitz преди 17 години
родител
ревизия
909ad9e80a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/drivers/net/pcnet32.c

+ 1
- 1
src/drivers/net/pcnet32.c Целия файл

@@ -67,7 +67,7 @@ static struct nic_operations pcnet32_operations;
67 67
 
68 68
 /* End Etherboot Specific */
69 69
 
70
-int cards_found /* __initdata */ ;
70
+static int cards_found = 0 /* __initdata */ ;
71 71
 
72 72
 #ifdef REMOVE
73 73
 /* FIXME: Remove these they are probably pointless */

Loading…
Отказ
Запис