]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/riva/nv_driver.c
x86: move dwarf2 related macro to dwarf2.h
[linux-2.6-omap-h63xx.git] / drivers / video / riva / nv_driver.c
index a11026812d1b6d169c66ba7badd923f01bd9a051..f3694cf17e58097ea72b398de6717e217d9d3adb 100644 (file)
 #include "rivafb.h"
 #include "nvreg.h"
 
-
-#ifndef CONFIG_PCI             /* sanity check */
-#error This driver requires PCI support.
-#endif
-
 #define PFX "rivafb: "
 
 static inline unsigned char MISCin(struct riva_par *par)
@@ -163,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: