projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' into core/urgent
[linux-2.6-block.git]
/
include
/
linux
/
pnp.h
diff --git
a/include/linux/pnp.h
b/include/linux/pnp.h
index 1bc1338b817b8ab7b257e2dbe6325e9bcee38bbc..195aafc6cd07c691e37e7d0247538dbd63ff5360 100644
(file)
--- a/
include/linux/pnp.h
+++ b/
include/linux/pnp.h
@@
-50,7
+50,7
@@
static inline resource_size_t pnp_resource_len(struct resource *res)
{
if (res->start == 0 && res->end == 0)
return 0;
- return res
->end - res->start + 1
;
+ return res
ource_size(res)
;
}