|
@@ -761,7 +761,7 @@ int __init agp_amd64_init(void)
|
|
|
|
|
|
if (agp_off)
|
|
if (agp_off)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
- if (pci_register_driver(&agp_amd64_pci_driver) > 0) {
|
|
|
|
|
|
+ if (pci_register_driver(&agp_amd64_pci_driver) < 0) {
|
|
struct pci_dev *dev;
|
|
struct pci_dev *dev;
|
|
if (!agp_try_unsupported && !agp_try_unsupported_boot) {
|
|
if (!agp_try_unsupported && !agp_try_unsupported_boot) {
|
|
printk(KERN_INFO PFX "No supported AGP bridge found.\n");
|
|
printk(KERN_INFO PFX "No supported AGP bridge found.\n");
|