Skip to contentSkip to conversation

agp/backend.c

PATCH New Stephen Hemminger 1 participant 1 message Sep 22, 2003 Agpgart driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 agp/backend.c

Looks like the ifdef is backwards here. It gave a warning with allmodconfig about agp_setup not being used.

This is in the latest from 2.6.0-test5 bk tree.

drivers/char/agp/backend.c +1 -1
diff -Nru a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c
@@ -318,7 +318,7 @@
 {
 }
 
-#ifdef MODULE
+#ifndef MODULE
 static __init int agp_setup(char *s)
 {
 	if (!strcmp(s,"off"))