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>
This commit is contained in:
Rafael J. Wysocki
2011-02-08 23:38:25 +01:00
parent b7c1fadd6c
commit 13606a2de1
2 changed files with 18 additions and 0 deletions

View File

@@ -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