lkml.org 
[lkml]   [2003]   [Jun]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 8 Jun 2003 16:40:38 +0200
FromAdrian Bunk <>
Subject[2.5 patch] let COMX depend on PROC_FS
From drivers/net/wan/comx.c:

<--  snip  -->

...
#ifndef CONFIG_PROC_FS
#error For now, COMX really needs the /proc filesystem
#endif
...

<--  snip  -->


The following patch add a dependency to Kconfig to avoid compile errors 
with CONFIG_COMX and !CONFIG_PROC_FS:


--- linux-2.5.70-mm6/drivers/net/wan/Kconfig.old	2003-06-08 15:54:41.000000000 +0200
+++ linux-2.5.70-mm6/drivers/net/wan/Kconfig	2003-06-08 15:55:14.000000000 +0200
@@ -62,7 +62,7 @@
 #
 config COMX
 	tristate "MultiGate (COMX) synchronous serial boards support"
-	depends on WAN && (ISA || PCI)
+	depends on WAN && (ISA || PCI) && PROC_FS
 	---help---
 	  Say Y if you want to use any board from the MultiGate (COMX) family.
 	  These boards are synchronous serial adapters for the PC,


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
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 12:36    [from the cache]
©2003-2008