diff options
Diffstat (limited to 'drivers/acpi/nvs.c')
-rw-r--r-- | drivers/acpi/nvs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c index de4fe03873c5..85287b8fe3aa 100644 --- a/drivers/acpi/nvs.c +++ b/drivers/acpi/nvs.c | |||
@@ -139,8 +139,8 @@ void suspend_nvs_free(void) | |||
139 | iounmap(entry->kaddr); | 139 | iounmap(entry->kaddr); |
140 | entry->unmap = false; | 140 | entry->unmap = false; |
141 | } else { | 141 | } else { |
142 | acpi_os_unmap_memory(entry->kaddr, | 142 | acpi_os_unmap_iomem(entry->kaddr, |
143 | entry->size); | 143 | entry->size); |
144 | } | 144 | } |
145 | entry->kaddr = NULL; | 145 | entry->kaddr = NULL; |
146 | } | 146 | } |