fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / alpha / kernel / console.c
index 254ab65..f313b34 100644 (file)
@@ -5,7 +5,6 @@
  * non-0 I/O hose
  */
 
-#include <linux/config.h>
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/tty.h>
@@ -47,7 +46,7 @@ locate_and_init_vga(void *(*sel_func)(void *, void *))
 
        if (!sel_func) sel_func = (void *)default_vga_hose_select;
 
-       for(dev=NULL; (dev=pci_find_class(PCI_CLASS_DISPLAY_VGA << 8, dev));) {
+       for(dev=NULL; (dev=pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, dev));) {
                if (!hose) hose = dev->sysdata;
                else hose = sel_func(hose, dev->sysdata);
        }