public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] HISAX_SEDLBAUER_CS needs HISAX_SEDLBAUER
@ 2003-07-28 20:00 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-07-28 20:00 UTC (permalink / raw)
  To: isdn4linux; +Cc: linux-kernel, trivial

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-28 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-28 20:00 [2.6 patch] HISAX_SEDLBAUER_CS needs HISAX_SEDLBAUER Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox