From 5558ae34e874f7f50920f70d1cd97cbb07e91a93 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Thu, 5 Feb 2004 23:07:04 -0800 Subject: [PATCH] adjust_resource() I need this to cope with some devices on PA-RISC and Russell also needs something like it for PCMCIA. --- include/linux/ioport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') 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)) -- cgit v1.2.3