Skip to contentSkip to conversation

drivers/char/hw_random.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Dec 5, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/hw_random.c: make a variable static

The patch below makes a needlessly global variable static.

drivers/char/hw_random.c renamed from drivers/char/hw_random.c.old +1 -1
@@ -369,7 +369,7 @@
 	VIA_RNG_CHUNK_1_MASK	= 0xFF,
 };
 
-u32 via_rng_datum;
+static u32 via_rng_datum;
 
 /*
  * Investigate using the 'rep' prefix to obtain 32 bits of random data