blob: 2be858018c7f449cc7ca258eedb5e3785d6d7099 [file] [log] [blame]
Rafael J. Wysocki2d6d9fd2011-01-19 22:27:14 +01001#ifndef _ACPI_IO_H_
2#define _ACPI_IO_H_
3
4#include <linux/io.h>
Rafael J. Wysocki2d6d9fd2011-01-19 22:27:14 +01005
6static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
7 acpi_size size)
8{
9 return ioremap_cache(phys, size);
10}
11
Rafael J. Wysocki13606a22011-02-08 23:38:25 +010012void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
13
Myron Stowe6f68c912011-11-07 16:23:34 -070014int acpi_os_map_generic_address(struct acpi_generic_address *addr);
15void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
16
Rafael J. Wysocki2d6d9fd2011-01-19 22:27:14 +010017#endif