diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-22 03:24:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-22 03:24:57 -0800 |
| commit | fea89e1d114bc553049afec2278b745c88ab88c7 (patch) | |
| tree | 377ea28dbb66dc1a63bc650502b0753d3931dd9f /include/linux | |
| parent | 16a157cdc70a582175a4ed3acd02720b8d5acd52 (diff) | |
Alan broke the build. Fix it thusly.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ioport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 6730ec823321..54b5b6f43b83 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -100,6 +100,7 @@ extern int allocate_resource(struct resource *root, struct resource *new, /* Convenience shorthand with allocation */ #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name)) #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name)) +#define rename_region(region, newname) do { (region)->name = (newname); } while (0) extern struct resource * __request_region(struct resource *, unsigned long start, unsigned long n, const char *name); |
