commit | bdbeed75b288443ea14208eafaac3941f385f2ae | [log] [tgz] |
---|---|---|
author | Arjan van de Ven <arjan@linux.intel.com> | Tue Jan 06 14:40:39 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:10 2009 -0800 |
tree | 0be768ee4d1b064af120655109da93e4095f6774 | |
parent | ea435467500612636f8f4fb639ff6e76b2496e4b [diff] |
pci: use pci_ioremap_bar() in drivers/misc Use the newly introduced pci_ioremap_bar() function in drivers/misc. 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: Linus Torvalds <torvalds@linux-foundation.org>