projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Convert uses of struct resource to resource_size(ptr)
[deliverable/linux.git]
/
drivers
/
parport
/
parport_ax88796.c
diff --git
a/drivers/parport/parport_ax88796.c
b/drivers/parport/parport_ax88796.c
index 2c5ac2bf5c565ecd03041b4b9117f8742fb877bf..844f6137970ae1e9247e3ccf9dc5b1a373097896 100644
(file)
--- a/
drivers/parport/parport_ax88796.c
+++ b/
drivers/parport/parport_ax88796.c
@@
-293,7
+293,7
@@
static int parport_ax88796_probe(struct platform_device *pdev)
goto exit_mem;
}
- size =
(res->end - res->start) + 1
;
+ size =
resource_size(res)
;
spacing = size / 3;
dd->io = request_mem_region(res->start, size, pdev->name);
This page took
0.024347 seconds
and
5
git commands to generate.