diff options
Diffstat (limited to 'arch/mips/sni/setup.c')
-rw-r--r-- | arch/mips/sni/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c index 6edbb3051c82..e8b26bdee24c 100644 --- a/arch/mips/sni/setup.c +++ b/arch/mips/sni/setup.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/screen_info.h> | 15 | #include <linux/screen_info.h> |
16 | 16 | ||
17 | #ifdef CONFIG_ARC | 17 | #ifdef CONFIG_ARC |
18 | #include <asm/arc/types.h> | 18 | #include <asm/fw/arc/types.h> |
19 | #include <asm/sgialib.h> | 19 | #include <asm/sgialib.h> |
20 | #endif | 20 | #endif |
21 | 21 | ||
@@ -106,11 +106,11 @@ static void __devinit quirk_cirrus_ram_size(struct pci_dev *dev) | |||
106 | * need to do it here, otherwise we get screen corruption | 106 | * need to do it here, otherwise we get screen corruption |
107 | * on older Cirrus chips | 107 | * on older Cirrus chips |
108 | */ | 108 | */ |
109 | pci_read_config_word (dev, PCI_COMMAND, &cmd); | 109 | pci_read_config_word(dev, PCI_COMMAND, &cmd); |
110 | if ((cmd & (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) | 110 | if ((cmd & (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) |
111 | == (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) { | 111 | == (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) { |
112 | vga_wseq (NULL, CL_SEQR6, 0x12); /* unlock all extension registers */ | 112 | vga_wseq(NULL, CL_SEQR6, 0x12); /* unlock all extension registers */ |
113 | vga_wseq (NULL, CL_SEQRF, 0x18); | 113 | vga_wseq(NULL, CL_SEQRF, 0x18); |
114 | } | 114 | } |
115 | } | 115 | } |
116 | 116 | ||