aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-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 ff93e8f71cf8..f0d4f7e9ed31 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)
395 enable &= 3; 395 enable &= 3;
396 396
397 if (flags & VIA_SET_FIFO) { 397 if (flags & VIA_SET_FIFO) {
398 u8 fifo_setting[4] = {0x00, 0x60, 0x00, 0x20}; 398 static const u8 fifo_setting[4] = {0x00, 0x60, 0x00, 0x20};
399 u8 fifo; 399 u8 fifo;
400 400
401 pci_read_config_byte(pdev, 0x43, &fifo); 401 pci_read_config_byte(pdev, 0x43, &fifo);