ACPI: Add field offset to struct resource_list_entry
[deliverable/linux.git] / include / linux / acpi.h
index d459cd17b477600cadf54ad2a227b66c5638112f..21dac3cb62d25828af746717f467dd121272816f 100644 (file)
@@ -285,12 +285,17 @@ extern int pnpacpi_disabled;
 
 #define PXM_INVAL      (-1)
 
+struct resource_win {
+       struct resource res;
+       resource_size_t offset;
+};
+
 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res);
 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res);
 bool acpi_dev_resource_address_space(struct acpi_resource *ares,
-                                    struct resource *res);
+                                    struct resource_win *win);
 bool acpi_dev_resource_ext_address_space(struct acpi_resource *ares,
-                                        struct resource *res);
+                                        struct resource_win *win);
 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable);
 bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
                                 struct resource *res);
@@ -298,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);
This page took 0.028314 seconds and 5 git commands to generate.