Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / acpi_io.h
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
13 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
14
15 int acpi_os_map_generic_address(struct acpi_generic_address *addr);
16 void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
17
18 #endif