ACPI: Translate resource into master side address for bridge window resources
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 2 Feb 2015 02:42:59 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:27:21 +0000 (22:27 +0100)
commit2ea3d266bab3b497238113b20136f7c3f69ad9c0
treed58f31464a40ec722efce3791a74e70e0e16b5f3
parenta49170b552423a3e85fc4f0d778c707402ee4863
ACPI: Translate resource into master side address for bridge window resources

Add translation_offset into the result address for bridge window
resources to form the master side address.

Currently acpi_dev_resource_{ext_}address_space() are only used for
devices instead of bridges, so it won't break current users. Later
it will be used to support PCI host bridge drivers.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c