Merge ../linus
[linux-2.6-block.git] / drivers / char / agp / amd64-agp.c
index f690ee8cb7324fbf195946def5d05b7ef63f7f7c..f74eeeb8e37709167933ac53c3b7e23c41f2488f 100644 (file)
@@ -734,7 +734,7 @@ int __init agp_amd64_init(void)
 
        if (agp_off)
                return -EINVAL;
-       if (pci_register_driver(&agp_amd64_pci_driver) > 0) {
+       if (pci_register_driver(&agp_amd64_pci_driver) < 0) {
                struct pci_dev *dev;
                if (!agp_try_unsupported && !agp_try_unsupported_boot) {
                        printk(KERN_INFO PFX "No supported AGP bridge found.\n");