mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] agp/backend.c
@ 2003-09-22 20:56 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-09-22 20:56 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

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.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-22 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22 20:56 [PATCH] agp/backend.c Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®