File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ typedef u64 phys_cpuid_t;
19
19
#define PHYS_CPUID_INVALID INVALID_HARTID
20
20
21
21
/* ACPI table mapping after acpi_permanent_mmap is set */
22
- void * acpi_os_ioremap (acpi_physical_address phys , acpi_size size );
22
+ void __iomem * acpi_os_ioremap (acpi_physical_address phys , acpi_size size );
23
23
#define acpi_os_ioremap acpi_os_ioremap
24
24
25
25
#define acpi_strict 1 /* No out-of-spec workarounds on RISC-V */
Original file line number Diff line number Diff line change @@ -215,9 +215,9 @@ void __init __acpi_unmap_table(void __iomem *map, unsigned long size)
215
215
early_iounmap (map , size );
216
216
}
217
217
218
- void * acpi_os_ioremap (acpi_physical_address phys , acpi_size size )
218
+ void __iomem * acpi_os_ioremap (acpi_physical_address phys , acpi_size size )
219
219
{
220
- return memremap (phys , size , MEMREMAP_WB );
220
+ return ( void __iomem * ) memremap (phys , size , MEMREMAP_WB );
221
221
}
222
222
223
223
#ifdef CONFIG_PCI
You can’t perform that action at this time.
0 commit comments