Pārlūkot izejas kodu

sh: make pcibios_max_latency static

This patch makes the needlessly global pcibios_max_latency static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Adrian Bunk 17 gadi atpakaļ
vecāks
revīzija
62410034e7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      arch/sh/drivers/pci/pci.c

+ 1 - 1
arch/sh/drivers/pci/pci.c

@@ -135,7 +135,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
  *  If we set up a device for bus mastering, we need to check and set
  *  If we set up a device for bus mastering, we need to check and set
  *  the latency timer as it may not be properly set.
  *  the latency timer as it may not be properly set.
  */
  */
-unsigned int pcibios_max_latency = 255;
+static unsigned int pcibios_max_latency = 255;
 
 
 void pcibios_set_master(struct pci_dev *dev)
 void pcibios_set_master(struct pci_dev *dev)
 {
 {