git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
char
/
agp
/
uninorth-agp.c
diff --git
a/drivers/char/agp/uninorth-agp.c
b/drivers/char/agp/uninorth-agp.c
index
14dfb59
..
4eb72b7
100644
(file)
--- a/
drivers/char/agp/uninorth-agp.c
+++ b/
drivers/char/agp/uninorth-agp.c
@@
-373,6
+373,8
@@
static struct pci_driver agp_uninorth_pci_driver = {
static int __init agp_uninorth_init(void)
{
+ if (agp_off)
+ return -EINVAL;
return pci_module_init(&agp_uninorth_pci_driver);
}