summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva/nv_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/riva/nv_driver.c')
-rw-r--r--drivers/video/riva/nv_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/riva/nv_driver.c b/drivers/video/riva/nv_driver.c
index a1181149da7..f3694cf17e5 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)
unsigned long memlen = 0;
unsigned int chipset = par->Chipset;
struct pci_dev* dev;
- int amt;
+ u32 amt;
switch (chip->Architecture) {
case NV_ARCH_03: