summaryrefslogtreecommitdiffstats
path: root/include/linux/acpi_io.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-02-08 23:38:25 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-02-24 19:58:42 +0100
commit13606a2de1996f8d83a9ce296f74022bdbadf712 (patch)
tree02ad0403378ad222dd1ed021ed80fe10fe9a6b39 /include/linux/acpi_io.h
parentb7c1fadd6c2eead56d0664a3a921980120de0c11 (diff)
downloadlinux-13606a2de1996f8d83a9ce296f74022bdbadf712.tar.gz
linux-13606a2de1996f8d83a9ce296f74022bdbadf712.tar.bz2
linux-13606a2de1996f8d83a9ce296f74022bdbadf712.zip
ACPI: Introduce acpi_os_get_iomem()
Introduce function acpi_os_get_iomem() that may be used by its callers to get a reference to an ACPI iomap. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/acpi_io.h')
-rw-r--r--include/linux/acpi_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/acpi_io.h b/include/linux/acpi_io.h
index 28a3ae279d7a..4afd7102459d 100644
--- a/include/linux/acpi_io.h
+++ b/include/linux/acpi_io.h
@@ -10,4 +10,6 @@ static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
return ioremap_cache(phys, size);
}
+void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
+
#endif