Re: [TRIVAL] Runtime linkage fix for serial_cs

From: Russell King
Date: Sat Sep 03 2005 - 04:03:40 EST


On Sat, Sep 03, 2005 at 05:49:23PM +0900, Takeharu KATO wrote:
> I found current serial_cs driver can not be loaded into the kernel.
> The reason of this issue is serial_cs driver uses serial8250_unregister_port
> function which is not exported for modules.

Your kernel sources are buggy. This function is exported.

> I fixed the issue, please apply this patch.

This is not a fix - unregister_serial() must not be used with ports
registered with serial8250_register_port(), and in fact
unregister_serial() no longer exists.

You need to find out why your tree doesn't export
serial8250_unregister_port(). Mis-merged patch maybe?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/