diff options
author | Andrew Morton <akpm@osdl.org> | 2006-12-20 13:09:10 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-20 13:09:10 -0500 |
commit | 73720861d211e2b23c3026c6adea6f758676c46f (patch) | |
tree | 7e0b760732026bef41af6f4a3f70df2b3c3071c0 /drivers/ata/pata_via.c | |
parent | 0153260a1e4379e70d224a7bfdf2b5c5c9b43e94 (diff) |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c index ff93e8f71cf..f0d4f7e9ed3 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); |