[PATCH] agp/backend.c

From: Stephen Hemminger
Date: Mon Sep 22 2003 - 15:58:56 EST


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"))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/