Rafael J. Wysocki | 2d6d9fd | 2011-01-19 22:27:14 +0100 | [diff] [blame] | 1 | #ifndef _ACPI_IO_H_ |
2 | #define _ACPI_IO_H_ | ||||
3 | |||||
4 | #include <linux/io.h> | ||||
5 | #include <acpi/acpi.h> | ||||
6 | |||||
7 | static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys, | ||||
8 | acpi_size size) | ||||
9 | { | ||||
10 | return ioremap_cache(phys, size); | ||||
11 | } | ||||
12 | |||||
Rafael J. Wysocki | 13606a2 | 2011-02-08 23:38:25 +0100 | [diff] [blame] | 13 | void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size); |
14 | |||||
Rafael J. Wysocki | 2d6d9fd | 2011-01-19 22:27:14 +0100 | [diff] [blame] | 15 | #endif |