diff options
Diffstat (limited to 'lib/devres.c')
-rw-r--r-- | lib/devres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/devres.c b/lib/devres.c index edc27a5d1b73..26c87c49d776 100644 --- a/lib/devres.c +++ b/lib/devres.c | |||
@@ -20,7 +20,7 @@ static int devm_ioremap_match(struct device *dev, void *res, void *match_data) | |||
20 | * | 20 | * |
21 | * Managed ioremap(). Map is automatically unmapped on driver detach. | 21 | * Managed ioremap(). Map is automatically unmapped on driver detach. |
22 | */ | 22 | */ |
23 | void __iomem *devm_ioremap(struct device *dev, unsigned long offset, | 23 | void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, |
24 | unsigned long size) | 24 | unsigned long size) |
25 | { | 25 | { |
26 | void __iomem **ptr, *addr; | 26 | void __iomem **ptr, *addr; |
@@ -49,7 +49,7 @@ EXPORT_SYMBOL(devm_ioremap); | |||
49 | * Managed ioremap_nocache(). Map is automatically unmapped on driver | 49 | * Managed ioremap_nocache(). Map is automatically unmapped on driver |
50 | * detach. | 50 | * detach. |
51 | */ | 51 | */ |
52 | void __iomem *devm_ioremap_nocache(struct device *dev, unsigned long offset, | 52 | void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset, |
53 | unsigned long size) | 53 | unsigned long size) |
54 | { | 54 | { |
55 | void __iomem **ptr, *addr; | 55 | void __iomem **ptr, *addr; |