diff options
Diffstat (limited to 'drivers/video/riva')
-rw-r--r-- | drivers/video/riva/nv_driver.c | 2 | ||||
-rw-r--r-- | drivers/video/riva/riva_hw.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/riva/nv_driver.c b/drivers/video/riva/nv_driver.c index a1181149da74..f3694cf17e58 100644 --- a/drivers/video/riva/nv_driver.c +++ b/drivers/video/riva/nv_driver.c | |||
@@ -158,7 +158,7 @@ unsigned long riva_get_memlen(struct riva_par *par) | |||
158 | unsigned long memlen = 0; | 158 | unsigned long memlen = 0; |
159 | unsigned int chipset = par->Chipset; | 159 | unsigned int chipset = par->Chipset; |
160 | struct pci_dev* dev; | 160 | struct pci_dev* dev; |
161 | int amt; | 161 | u32 amt; |
162 | 162 | ||
163 | switch (chip->Architecture) { | 163 | switch (chip->Architecture) { |
164 | case NV_ARCH_03: | 164 | case NV_ARCH_03: |
diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c index 13307703a9f0..78fdbf5178d7 100644 --- a/drivers/video/riva/riva_hw.c +++ b/drivers/video/riva/riva_hw.c | |||
@@ -231,7 +231,7 @@ typedef struct { | |||
231 | int nvclk_khz; | 231 | int nvclk_khz; |
232 | char mem_page_miss; | 232 | char mem_page_miss; |
233 | char mem_latency; | 233 | char mem_latency; |
234 | int memory_type; | 234 | u32 memory_type; |
235 | int memory_width; | 235 | int memory_width; |
236 | char enable_video; | 236 | char enable_video; |
237 | char gr_during_vid; | 237 | char gr_during_vid; |
@@ -2107,7 +2107,7 @@ static void nv10GetConfig | |||
2107 | ) | 2107 | ) |
2108 | { | 2108 | { |
2109 | struct pci_dev* dev; | 2109 | struct pci_dev* dev; |
2110 | int amt; | 2110 | u32 amt; |
2111 | 2111 | ||
2112 | #ifdef __BIG_ENDIAN | 2112 | #ifdef __BIG_ENDIAN |
2113 | /* turn on big endian register access */ | 2113 | /* turn on big endian register access */ |