upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / drivers / char / agp / sworks-agp.c
index ebf372d..44b24fa 100644 (file)
@@ -539,6 +539,8 @@ static struct pci_driver agp_serverworks_pci_driver = {
 
 static int __init agp_serverworks_init(void)
 {
+       if (agp_off)
+               return -EINVAL;
        return pci_module_init(&agp_serverworks_pci_driver);
 }