summaryrefslogtreecommitdiffstats
path: root/include/linux/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r--include/linux/ioport.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index 295ab4a49d..c6328e9a7f 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
/*
* ioport.h Definitions of routines for detecting, reserving and
* allocating system resources.
@@ -153,8 +155,8 @@ struct resource *request_ioport_region(const char *name,
resource_size_t start, resource_size_t end);
struct resource *__request_region(struct resource *parent,
- const char *name, resource_size_t end,
- resource_size_t size);
+ resource_size_t start, resource_size_t end,
+ const char *name, unsigned flags);
int __merge_regions(const char *name,
struct resource *resa, struct resource *resb);