PCI: refactor io size calculation code
authorRam Pai <linuxram@us.ibm.com>
Tue, 15 Feb 2011 01:43:17 +0000 (17:43 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Mar 2011 18:45:48 +0000 (10:45 -0800)
commit13583b16592a9a85093dd9aa3d4e8cd76e4f0cd4
tree72e598db87ae0415d6f137a768203748e426f70f
parent87e3dc3855430bd254370afc79f2ed92250f5b7c
PCI: refactor io size calculation code

Refactor code that calculates the io size in pbus_size_io() and
pbus_mem_io() into separate functions.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c