upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / drivers / char / agp / nvidia-agp.c
index a0ac3d8..936d366 100644 (file)
@@ -405,6 +405,8 @@ static struct pci_driver agp_nvidia_pci_driver = {
 
 static int __init agp_nvidia_init(void)
 {
+       if (agp_off)
+               return -EINVAL;
        return pci_module_init(&agp_nvidia_pci_driver);
 }