Messages in this thread Patch in this message | | | Date | Wed, 25 Aug 1999 11:13:30 +0200 (CEST) | From | Bernhard Rosenkraenzer <> | Subject | [PATCH] 2.3.15pre2: ISAPNP doesn't compile as module |
| |
The problem is <linux/isapnp.h> asking for CONFIG_ISAPNP only, instead of looking at CONFIG_ISAPNP_MODULE, as well. The patch I've attached fixes it.
LLaP bero
--- linux/include/linux/isapnp.h~ Wed Aug 25 10:53:56 1999 +++ linux/include/linux/isapnp.h Wed Aug 25 11:10:32 1999 @@ -133,7 +133,7 @@ struct isapnp_resources *next; /* next resource */ }; -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || defined(CONFIG_ISAPNP_MODULE) /* lowlevel configuration */ int isapnp_present(void); @@ -160,7 +160,7 @@ /* init/main.c */ int isapnp_init(void); -#else /* !CONFIG_ISAPNP */ +#else /* !CONFIG_ISAPNP && !CONFIG_ISAPNP_MODULE */ /* lowlevel configuration */ extern inline int isapnp_present(void) { return 0; } | |