Skip to contentSkip to conversation

drivers/block/xd.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Jan 18, 2005 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/block/xd.c: make a variable static

This patch makes a needlessly global variable static.

---

This patch was already sent on:
- 29 Nov 2004

drivers/block/xd.c renamed from drivers/block/xd.c.old +1 -1
@@ -67,7 +67,7 @@
 /* Above may need to be increased if a problem with the 2nd drive detection
    (ST11M controller) or resetting a controller (WD) appears */
 
-XD_INFO xd_info[XD_MAXDRIVES];
+static XD_INFO xd_info[XD_MAXDRIVES];
 
 /* If you try this driver and find that your card is not detected by the driver at bootup, you need to add your BIOS
    signature and details to the following list of signatures. A BIOS signature is a string embedded into the first