Re: [patch] rename all symbols in drivers/net/irda/donauboe.c

From: Dave Jones (davej@codemonkey.org.uk)
Date: Wed Feb 12 2003 - 08:44:30 EST


On Wed, Feb 12, 2003 at 02:23:14PM +0100, J?rn Engel wrote:

> When compiling a kernel with both CONFIG_TOSHIBA_OLD and
> CONFIG_TOSHIBA_FIR set to yes, the two drivers both define the same
> symbols and the build breaks.
>
> While this is an unusual configuration, it might make sense sometimes
> to compile a kernel that will boot on several machines.

But with both drivers built into the kernel, it'll always default
to the first one that gets initialised. There's a common
PCI_DEVICE_ID_FIR701 in the pci_device_id tables of both drivers.

It sounds like these should be mutually exclusive when built-in.
If you need a configuration with both, use modules.

                Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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 : Sat Feb 15 2003 - 22:00:41 EST