2003-11-12 18:41:02

by Adrian Bunk

[permalink] [raw]
Subject: [PATCH] let ISDN_DRV_SC depend on m (fwd)


The patch forwarded below is still required in -test9.

Please apply
Adrian



----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Sat, 27 Sep 2003 00:50:21 +0200
From: Adrian Bunk <[email protected]>
To: Armin Schindler <[email protected]>
Cc: [email protected],
Linux Kernel Mailinglist <[email protected]>,
[email protected]
Subject: [PATCH] let ISDN_DRV_SC depend on m

On Thu, Sep 25, 2003 at 01:33:53PM +0200, Armin Schindler wrote:
> On Thu, 25 Sep 2003, Adrian Bunk wrote:
> > I got the link error below in 2.6.0-test5-mm4 (but it doesn't seem to be
> > specific to -mm).
> >
> > It seems some drivers under eicon/ and hardware/eicon/ use the same
> > symbols. Either some symbols should be renamed or Kconfig dependencies
> > should ensure that you can't build two such drivers statically into the
> > kernel at the same time.
>
> The legacy eicon driver in drivers/isdn/eicon is the old one and will be
> removed as soon as all features went to the new driver.
> Anyway this old driver was never meant to be non-module.
>
> This patch should do it.

Yes, thanks, this works. The similar patch for ISDN_DRV_SC below is
needed, too.

> Armin

cu
Adrian

--- linux-2.6.0-test5-mm4-no-smp-2.95/drivers/isdn/sc/Kconfig.old 2003-09-25 19:21:07.000000000 +0200
+++ linux-2.6.0-test5-mm4-no-smp-2.95/drivers/isdn/sc/Kconfig 2003-09-25 19:21:54.000000000 +0200
@@ -3,7 +3,7 @@
#
config ISDN_DRV_SC
tristate "Spellcaster support"
- depends on ISDN && ISA
+ depends on ISDN && ISA && m
help
This enables support for the Spellcaster BRI ISDN boards. This
driver currently builds only in a modularized version ( = code which