diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-02-02 02:43:00 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-03 21:27:23 (GMT) |
commit | 93286f4798590e711aa395503401f8632fb74f9a (patch) | |
tree | c8294efe2c8b9e2550b334fbeaa91130dc7ab525 /drivers/acpi/resource.c | |
parent | 2ea3d266bab3b497238113b20136f7c3f69ad9c0 (diff) | |
download | linux-93286f4798590e711aa395503401f8632fb74f9a.tar.xz |
ACPI: Add field offset to struct resource_list_entry
Add field offset to struct resource_list_entry to host address space
translation offset so it could be used to represent bridge resources.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/resource.c')
-rw-r--r-- | drivers/acpi/resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 4dc8cfb..1c3abae 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -472,6 +472,7 @@ static acpi_status acpi_dev_new_resource_entry(struct resource_win *win, return AE_NO_MEMORY; } rentry->res = win->res; + rentry->offset = win->offset; list_add_tail(&rentry->node, c->list); c->count++; return AE_OK; |