[PATCH] Re: 2.6 eicon/ and hardware/eicon/ drivers using the samesymbols (fwd)

From: Adrian Bunk
Date: Wed Nov 12 2003 - 13:39:06 EST



The patch forwarded below is still required in -test9.

Please apply
Adrian


----- Forwarded message from Armin Schindler <armin@xxxxxxxxxx> -----

Date: Thu, 25 Sep 2003 13:33:53 +0200 (MEST)
From: Armin Schindler <armin@xxxxxxxxxx>
To: Adrian Bunk <bunk@xxxxxxxxx>
Cc: <isdn4linux@xxxxxxxxxxxxxxxxxxxxxx>,
Linux Kernel Mailinglist <linux-kernel@xxxxxxxxxxxxxxx>
Subject: [PATCH] Re: 2.6 eicon/ and hardware/eicon/ drivers using the samesymbols

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.

Armin



--- linux-2.5/drivers/isdn/eicon/Kconfig.orig Thu Sep 25 13:28:07 2003
+++ linux-2.5/drivers/isdn/eicon/Kconfig Thu Sep 25 13:27:01 2003
@@ -13,7 +13,7 @@
choice
prompt "Eicon active card support"
optional
- depends on ISDN_DRV_EICON && ISDN
+ depends on ISDN_DRV_EICON && ISDN && m

config ISDN_DRV_EICON_DIVAS
tristate "Eicon driver"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/