lkml.org 
[lkml]   [1999]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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; }
\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.051 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site