]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: Merge pci_dev_resource_x and pci_dev_resource
authorYinghai Lu <yinghai@kernel.org>
Sat, 21 Jan 2012 10:08:28 +0000 (02:08 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:44:56 +0000 (08:44 -0800)
commit764242a0aec69e10b8dc0f4f0303a6800b09cf45
treec61109a8d13c8b212be05c069d3339fdc73cfa14
parentbdc4abecaeff30b3cc230b418a925999dda594c2
PCI: Merge pci_dev_resource_x and pci_dev_resource

pci_dev_resource_x is a superset of pci_dev_resource and they're just
temp structs used during resource reallocation.

pci_dev_resource usage is quite limted.

So just use pci_dev_resource_x, and rename it as new pci_dev_resource.

-v2: According to Linus, Separate free_list change to another patch

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c