ALSA: hda - Use IS_REACHABLE() for dependency on input
[linux/fpc-iii.git] / include / acpi / acpi_io.h
blobd7d0f495a34e975d7c045efab5dd029d5f393687
1 #ifndef _ACPI_IO_H_
2 #define _ACPI_IO_H_
4 #include <linux/io.h>
6 #include <asm/acpi.h>
8 #ifndef acpi_os_ioremap
9 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
10 acpi_size size)
12 return ioremap_cache(phys, size);
14 #endif
16 void __iomem *__ref
17 acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
18 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
19 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
21 int acpi_os_map_generic_address(struct acpi_generic_address *addr);
22 void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
24 #endif