vserver 1.9.5.x5
[linux-2.6.git] / drivers / char / agp / uninorth-agp.c
index 14dfb59..4eb72b7 100644 (file)
@@ -373,6 +373,8 @@ static struct pci_driver agp_uninorth_pci_driver = {
 
 static int __init agp_uninorth_init(void)
 {
+       if (agp_off)
+               return -EINVAL;
        return pci_module_init(&agp_uninorth_pci_driver);
 }