diff options
Diffstat (limited to 'drivers/video/nvidia/nv_hw.c')
-rw-r--r-- | drivers/video/nvidia/nv_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/nvidia/nv_hw.c b/drivers/video/nvidia/nv_hw.c index d1a10549f543..ed20a9871b33 100644 --- a/drivers/video/nvidia/nv_hw.c +++ b/drivers/video/nvidia/nv_hw.c | |||
@@ -129,7 +129,7 @@ typedef struct { | |||
129 | int nvclk_khz; | 129 | int nvclk_khz; |
130 | char mem_page_miss; | 130 | char mem_page_miss; |
131 | char mem_latency; | 131 | char mem_latency; |
132 | int memory_type; | 132 | u32 memory_type; |
133 | int memory_width; | 133 | int memory_width; |
134 | char enable_video; | 134 | char enable_video; |
135 | char gr_during_vid; | 135 | char gr_during_vid; |
@@ -719,7 +719,7 @@ static void nForceUpdateArbitrationSettings(unsigned VClk, | |||
719 | memctrl >>= 16; | 719 | memctrl >>= 16; |
720 | 720 | ||
721 | if ((memctrl == 0x1A9) || (memctrl == 0x1AB) || (memctrl == 0x1ED)) { | 721 | if ((memctrl == 0x1A9) || (memctrl == 0x1AB) || (memctrl == 0x1ED)) { |
722 | int dimm[3]; | 722 | u32 dimm[3]; |
723 | 723 | ||
724 | dev = pci_get_bus_and_slot(0, 2); | 724 | dev = pci_get_bus_and_slot(0, 2); |
725 | pci_read_config_dword(dev, 0x40, &dimm[0]); | 725 | pci_read_config_dword(dev, 0x40, &dimm[0]); |