]> git.baikalelectronics.ru Git - kernel.git/commit
pci: use pci_ioremap_bar() in drivers/serial
authorArjan van de Ven <arjan@linux.intel.com>
Wed, 24 Jun 2009 17:34:58 +0000 (18:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Jun 2009 16:55:50 +0000 (09:55 -0700)
commitef7794f2ba2e7ef50199fe6b1b263dbecb119326
tree3bcb33742f8674a7f8dc5e744357b3b836753858
parentaf4c67c5a3d4d4df7def8f804dccfd8bd48e4697
pci: use pci_ioremap_bar() in drivers/serial

Use the newly introduced pci_ioremap_bar() function in drivers/serial.
pci_ioremap_bar() just takes a pci device and a bar number, with the goal
of making it really hard to get wrong, while also having a central place
to stick sanity checks.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250_pci.c
drivers/serial/icom.c