summaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorJiang Liu2015-02-02 03:43:00 +0100
committerRafael J. Wysocki2015-02-03 22:27:23 +0100
commit93286f4798590e711aa395503401f8632fb74f9a (patch)
treec8294efe2c8b9e2550b334fbeaa91130dc7ab525 /include/linux/acpi.h
parentACPI: Translate resource into master side address for bridge window resources (diff)
downloadkernel-qcow2-linux-93286f4798590e711aa395503401f8632fb74f9a.tar.gz
kernel-qcow2-linux-93286f4798590e711aa395503401f8632fb74f9a.tar.xz
kernel-qcow2-linux-93286f4798590e711aa395503401f8632fb74f9a.zip
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 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index be9eaee8f4ae..21dac3cb62d2 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -303,6 +303,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
struct resource_list_entry {
struct list_head node;
struct resource res;
+ resource_size_t offset;
};
void acpi_dev_free_resource_list(struct list_head *list);