diff options
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r-- | include/linux/ioport.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 7129504e053d..dda98410d588 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
@@ -112,6 +112,7 @@ extern struct resource iomem_resource; | |||
112 | 112 | ||
113 | extern int request_resource(struct resource *root, struct resource *new); | 113 | extern int request_resource(struct resource *root, struct resource *new); |
114 | extern int release_resource(struct resource *new); | 114 | extern int release_resource(struct resource *new); |
115 | void release_child_resources(struct resource *new); | ||
115 | extern void reserve_region_with_split(struct resource *root, | 116 | extern void reserve_region_with_split(struct resource *root, |
116 | resource_size_t start, resource_size_t end, | 117 | resource_size_t start, resource_size_t end, |
117 | const char *name); | 118 | const char *name); |
@@ -120,8 +121,10 @@ extern void insert_resource_expand_to_fit(struct resource *root, struct resource | |||
120 | extern int allocate_resource(struct resource *root, struct resource *new, | 121 | extern int allocate_resource(struct resource *root, struct resource *new, |
121 | resource_size_t size, resource_size_t min, | 122 | resource_size_t size, resource_size_t min, |
122 | resource_size_t max, resource_size_t align, | 123 | resource_size_t max, resource_size_t align, |
123 | void (*alignf)(void *, struct resource *, | 124 | resource_size_t (*alignf)(void *, |
124 | resource_size_t, resource_size_t), | 125 | const struct resource *, |
126 | resource_size_t, | ||
127 | resource_size_t), | ||
125 | void *alignf_data); | 128 | void *alignf_data); |
126 | int adjust_resource(struct resource *res, resource_size_t start, | 129 | int adjust_resource(struct resource *res, resource_size_t start, |
127 | resource_size_t size); | 130 | resource_size_t size); |