projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0153260
)
[libata] pata_via: suspend/resume support fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 20 Dec 2006 18:09:10 +0000
(13:09 -0500)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 20 Dec 2006 18:09:10 +0000
(13:09 -0500)
Make this array static so it doesn't have to be built at runtime.
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_via.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_via.c
b/drivers/ata/pata_via.c
index ff93e8f71cf8e8900d1cb070c5aa0f1d6a5e3477..f0d4f7e9ed314a857f3d70baf77068fe911207b6 100644
(file)
--- a/
drivers/ata/pata_via.c
+++ b/
drivers/ata/pata_via.c
@@
-395,7
+395,7
@@
static void via_config_fifo(struct pci_dev *pdev, unsigned int flags)
enable &= 3;
if (flags & VIA_SET_FIFO) {
- u8 fifo_setting[4] = {0x00, 0x60, 0x00, 0x20};
+
static const
u8 fifo_setting[4] = {0x00, 0x60, 0x00, 0x20};
u8 fifo;
pci_read_config_byte(pdev, 0x43, &fifo);