lkml.org 
[lkml]   [2003]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH][OBVIOUS] 3c515.c: Enable ISAPNP when built as a module.
Date
On Tue, 2 Dec 2003 02:40:28 +0000, 
Matthew Bell <m.bell@bvrh.co.uk> wrote:
>--- linux-2.4.19.orig/drivers/net/3c515.c 2002-02-25 19:37:59.000000000
>+0000
>+++ linux-2.4.19/drivers/net/3c515.c 2002-08-03 18:24:05.000000000 +0100
>@@ -370,7 +370,7 @@
> { "Default", 0, 0xFF, XCVR_10baseT, 10000},
> };
>
>
>-#ifdef CONFIG_ISAPNP
>+#if defined(CONFIG_ISAPNP) || (defined (MODULE) && defined
>(CONFIG_ISAPNP_MODULE))

Your mailer wrapped the lines.

Only test CONFIG_ISAPNP || CONFIG_ISAPNP_MODULE, not MODULE.
CONFIG_foo_MODULE can only be defined when MODULE is defined.

#if defined(CONFIG_ISAPNP) || defined(CONFIG_ISAPNP_MODULE)

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

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.043 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site