upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / drivers / char / agp / amd-k7-agp.c
index 96ee237..52c2524 100644 (file)
@@ -478,6 +478,8 @@ static struct pci_driver agp_amdk7_pci_driver = {
 
 static int __init agp_amdk7_init(void)
 {
+       if (agp_off)
+               return -EINVAL;
        return pci_module_init(&agp_amdk7_pci_driver);
 }