Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176753
b: refs/heads/master
c: f65380c
h: refs/heads/master
i:
  176751: 985e91a
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Dec 16, 2009
1 parent 8927e8d commit 6ec5feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76148df19cbd5437dc5358408a58c7cc6366ecf4
refs/heads/master: f65380c07b64b0e45ad5c7d70ca54a9cde1c00db
4 changes: 2 additions & 2 deletions trunk/include/linux/ioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ extern int allocate_resource(struct resource *root, struct resource *new,
int adjust_resource(struct resource *res, resource_size_t start,
resource_size_t size);
resource_size_t resource_alignment(struct resource *res);
static inline resource_size_t resource_size(struct resource *res)
static inline resource_size_t resource_size(const struct resource *res)
{
return res->end - res->start + 1;
}
static inline unsigned long resource_type(struct resource *res)
static inline unsigned long resource_type(const struct resource *res)
{
return res->flags & IORESOURCE_TYPE_BITS;
}
Expand Down

0 comments on commit 6ec5feb

Please sign in to comment.