]> err.no Git - linux-2.6/commit
[SERIAL] Fix matching of MMIO ports
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 Jan 2006 18:09:44 +0000 (18:09 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 4 Jan 2006 18:09:44 +0000 (18:09 +0000)
commit1624f003349b49050f42c7d9f5407dfc05efb912
tree43fef7650e2bb7832222956b0dc46e6b48e74b8c
parent26e92861be9c0da3be30718de693976b3f6a8026
[SERIAL] Fix matching of MMIO ports

The function uart_match_port() incorrectly compares the ioremap'd
virtual addresses of ports instead of the physical address to find
duplicate ports for MMIO based UARTs. This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/serial_core.c