Commit:     73720861d211e2b23c3026c6adea6f758676c46f
Parent:     0153260a1e4379e70d224a7bfdf2b5c5c9b43e94
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 20 13:09:10 2006 -0500
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Dec 20 13:09:10 2006 -0500

    [libata] pata_via: suspend/resume support fix
    Make this array static so it doesn't have to be built at runtime.
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 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 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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to