diff options
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index e697f20e2288..7fd123ad00aa 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -304,7 +304,7 @@ static int find_resource(struct resource *root, struct resource *new, | |||
304 | resource_size_t size, resource_size_t min, | 304 | resource_size_t size, resource_size_t min, |
305 | resource_size_t max, resource_size_t align, | 305 | resource_size_t max, resource_size_t align, |
306 | resource_size_t (*alignf)(void *, | 306 | resource_size_t (*alignf)(void *, |
307 | struct resource *, | 307 | const struct resource *, |
308 | resource_size_t, | 308 | resource_size_t, |
309 | resource_size_t), | 309 | resource_size_t), |
310 | void *alignf_data) | 310 | void *alignf_data) |
@@ -361,7 +361,7 @@ int allocate_resource(struct resource *root, struct resource *new, | |||
361 | resource_size_t size, resource_size_t min, | 361 | resource_size_t size, resource_size_t min, |
362 | resource_size_t max, resource_size_t align, | 362 | resource_size_t max, resource_size_t align, |
363 | resource_size_t (*alignf)(void *, | 363 | resource_size_t (*alignf)(void *, |
364 | struct resource *, | 364 | const struct resource *, |
365 | resource_size_t, | 365 | resource_size_t, |
366 | resource_size_t), | 366 | resource_size_t), |
367 | void *alignf_data) | 367 | void *alignf_data) |