commit | 7898aa5c39d159684dad15bab1150b8e77c7aed6 | [log] [tgz] |
---|---|---|
author | Arjan van de Ven <arjan@linux.intel.com> | Tue Oct 21 11:17:51 2008 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 06 10:44:43 2009 -0800 |
tree | c02a5087905bb7dd3273c15f8d5ba11037646da0 | |
parent | 1d559e29138834bbcdf34ac072232bf543bfc4e0 [diff] |
UIO: use pci_ioremap_bar() in drivers/uio Use the newly introduced pci_ioremap_bar() function in drivers/uio. 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: Hans J. Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>