Skip to contentSkip to conversation

HISAX_SEDLBAUER_CS needs HISAX_SEDLBAUER

PATCH New Adrian Bunk 1 participant 1 message Jul 28, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HISAX_SEDLBAUER_CS needs HISAX_SEDLBAUER

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:

drivers/isdn/hisax/Kconfig renamed from drivers/isdn/hisax/Kconfig~ +1 -1
@@ -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

Signature · 4 lines
       "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