OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175fb09
)
sh: make pcibios_max_latency static
author
Adrian Bunk
<bunk@kernel.org>
Tue, 17 Jun 2008 22:33:40 +0000
(
01:33
+0300)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:30 +0000
(18:10 +0900)
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>
arch/sh/drivers/pci/pci.c
patch
|
blob
|
history
diff --git
a/arch/sh/drivers/pci/pci.c
b/arch/sh/drivers/pci/pci.c
index
f57095a
..
d3839e6
100644
(file)
--- a/
arch/sh/drivers/pci/pci.c
+++ b/
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
* 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)
{