diff options
| author | Matthew Wilcox <willy@debian.org> | 2004-02-05 23:07:04 -0800 |
|---|---|---|
| committer | David S. Miller <davem@kernel.bkbits.net> | 2004-02-05 23:07:04 -0800 |
| commit | 5558ae34e874f7f50920f70d1cd97cbb07e91a93 (patch) | |
| tree | 81ad9e07df9dcf7293bea79fa849a80b784f6f46 /include/linux | |
| parent | d619064c3de3cd055f41d4554c9d92526a4f33b8 (diff) | |
[PATCH] adjust_resource()
I need this to cope with some devices on PA-RISC and Russell also needs
something like it for PCMCIA.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ioport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 5ad913d3cd96..363aef7268c6 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -99,6 +99,8 @@ extern int allocate_resource(struct resource *root, struct resource *new, void (*alignf)(void *, struct resource *, unsigned long, unsigned long), void *alignf_data); +int adjust_resource(struct resource *res, unsigned long start, + unsigned long size); /* Convenience shorthand with allocation */ #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name)) |
