projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3818ed
)
[AGPGART] Fix pci_register_driver checking in amd64-agp
author
Dave Jones
<davej@redhat.com>
Wed, 21 Jun 2006 21:36:24 +0000
(17:36 -0400)
committer
Dave Jones
<davej@redhat.com>
Wed, 21 Jun 2006 21:36:24 +0000
(17:36 -0400)
pci_register_driver() never returns a positive number.
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/amd64-agp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/amd64-agp.c
b/drivers/char/agp/amd64-agp.c
index ac3c33a2e37d7b7ed7d1b3da0c7428f0e448dec8..e449d949f7ea7d3f4ddf1aed6b24bacc2595374e 100644
(file)
--- a/
drivers/char/agp/amd64-agp.c
+++ b/
drivers/char/agp/amd64-agp.c
@@
-761,7
+761,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");