summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-20 13:09:10 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-20 13:09:10 -0500
commit73720861d211e2b23c3026c6adea6f758676c46f (patch)
tree7e0b760732026bef41af6f4a3f70df2b3c3071c0 /drivers/ata/pata_via.c
parent0153260a1e4379e70d224a7bfdf2b5c5c9b43e94 (diff)
downloadop-kernel-dev-73720861d211e2b23c3026c6adea6f758676c46f.zip
op-kernel-dev-73720861d211e2b23c3026c6adea6f758676c46f.tar.gz
[libata] pata_via: suspend/resume support fix
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>
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index ff93e8f..f0d4f7e 100644
--- 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);
OpenPOWER on IntegriCloud