diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 01:01:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:54:07 -0800 |
commit | 24622efd11fc5ee569b008b9f89e5e268265811b (patch) | |
tree | 5a477b1d75d13f26d0708e7279dbabd5e156624e /include | |
parent | b26b9bc58263acda274f82a9dde8b6d96559878a (diff) | |
download | linux-3.10-24622efd11fc5ee569b008b9f89e5e268265811b.tar.gz linux-3.10-24622efd11fc5ee569b008b9f89e5e268265811b.tar.bz2 linux-3.10-24622efd11fc5ee569b008b9f89e5e268265811b.zip |
[PATCH] __deprecated_for_modules: insert_resource
This looks like something which out-of-tree code could possibly be using.
Give insert_resource the twelve-month treatment.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ioport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 18d010bee63..cd6bd001ba4 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -94,7 +94,7 @@ extern struct resource iomem_resource; extern int request_resource(struct resource *root, struct resource *new); extern struct resource * ____request_resource(struct resource *root, struct resource *new); extern int release_resource(struct resource *new); -extern int insert_resource(struct resource *parent, struct resource *new); +extern __deprecated_for_modules int insert_resource(struct resource *parent, struct resource *new); extern int allocate_resource(struct resource *root, struct resource *new, unsigned long size, unsigned long min, unsigned long max, |