[2.6 patch] HISAX_SEDLBAUER_CS needs HISAX_SEDLBAUER

From: Adrian Bunk (bunk@fs.tum.de)
Date: Mon Jul 28 2003 - 15:00:26 EST


If you compile 2.6.0-test2 with HISAX_SEDLBAUER_CS and !HISAX_SEDLBAUER
the final linking fails with the followingg error:

<-- snip -->

...
  LD .tmp_vmlinux1
...
drivers/built-in.o(.text+0x8f0b3f): In function `sedlbauer_config':
: undefined reference to `sedl_init_pcmcia'
...
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

There might be better solutions, but the following patch at least
revents this problem:

--- linux-2.6.0-test2-not-full/drivers/isdn/hisax/Kconfig~ 2003-07-27 19:07:12.000000000 +0200
+++ linux-2.6.0-test2-not-full/drivers/isdn/hisax/Kconfig 2003-07-28 21:55:00.000000000 +0200
@@ -367,7 +367,7 @@
 
 config HISAX_SEDLBAUER_CS
         tristate "Sedlbauer PCMCIA cards"
- depends on PCMCIA
+ depends on PCMCIA && HISAX_SEDLBAUER
         help
           This enables the PCMCIA client driver for the Sedlbauer Speed Star
           and Speed Star II cards.

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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:37 EST