aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/acpi/acpi_io.h
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-06-03 16:28:35 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-04 17:21:11 +0200
commit9fe51603d953419b8da74f455269eca8e6b84228 (patch)
tree79e916b396923be9b4752e12b46c841f2b6b8b1b /include/acpi/acpi_io.h
parentLinux 5.2-rc3 (diff)
downloadwireguard-linux-9fe51603d953419b8da74f455269eca8e6b84228.tar.xz
wireguard-linux-9fe51603d953419b8da74f455269eca8e6b84228.zip
ACPI: OSL: Make a W=1 kernel-doc warning go away
It appears that kernel-doc does not understand the return type *__ref, drivers/acpi/osl.c:306: warning: cannot understand function prototype: 'void __iomem *__ref acpi_os_map_iomem(acpi_physical_address phys, acpi_size size) Signed-off-by: Qian Cai <cai@lca.pw> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_io.h')
-rw-r--r--include/acpi/acpi_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acpi_io.h b/include/acpi/acpi_io.h
index d0633fc1fc15..12d8bd333fe7 100644
--- a/include/acpi/acpi_io.h
+++ b/include/acpi/acpi_io.h
@@ -16,8 +16,8 @@ static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
extern bool acpi_permanent_mmap;
-void __iomem *__ref
-acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
+void __iomem __ref
+*acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);