diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-07-15 12:57:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 09:38:17 -0400 |
commit | 3450004a8cec8bab246372a1cabb9c2483b1e6c3 (patch) | |
tree | 4aab06c0b6f8f35730b931b1f2dc96383fa47f14 /arch/mips/pci | |
parent | 5b664cb235e97afbf34db9c4d77f08ebd725335e (diff) |
[MIPS] PCI: Make the pcibios_max_latency variable static
The pcibios_max_latency variable is needlessly defined global, and this
patch makes it static.
Build-tested using malta_defconfig.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index d7d6cb063d2..77bd5b68dc4 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -204,7 +204,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask) | |||
204 | * If we set up a device for bus mastering, we need to check the latency | 204 | * If we set up a device for bus mastering, we need to check the latency |
205 | * timer as certain crappy BIOSes forget to set it properly. | 205 | * timer as certain crappy BIOSes forget to set it properly. |
206 | */ | 206 | */ |
207 | unsigned int pcibios_max_latency = 255; | 207 | static unsigned int pcibios_max_latency = 255; |
208 | 208 | ||
209 | void pcibios_set_master(struct pci_dev *dev) | 209 | void pcibios_set_master(struct pci_dev *dev) |
210 | { | 210 | { |