Messages in this thread Patch in this message | | | From | Keith Owens <> | Subject | Re: [PATCH][OBVIOUS] 3c515.c: Enable ISAPNP when built as a module. | Date | Tue, 02 Dec 2003 14:20:15 +1100 |
| |
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/
| |