On Sat, Apr 23, 2005 at 04:44:11PM -0700, Andrew Morton wrote: > Adrian Bunk wrote: > > > > I didn't find any possible modular usage in the kernel. > > > > True, but this looks like something which out-of-tree code could possibly > be using. I'd prefer to see this one get the deprecated_for_modules > twelve-month treatment. >... Patch below. cu Adrian <-- snip --> Signed-off-by: Andrew Morton --- Documentation/feature-removal-schedule.txt | 8 ++++++++ include/linux/ioport.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff -puN Documentation/feature-removal-schedule.txt~__deprecated_for_modules-insert_resource Documentation/feature-removal-schedule.txt --- 25/Documentation/feature-removal-schedule.txt~__deprecated_for_modules-insert_resource 2005-05-06 17:43:48.000000000 -0700 +++ 25-akpm/Documentation/feature-removal-schedule.txt 2005-05-06 17:44:12.000000000 -0700 @@ -75,3 +75,11 @@ Why: Deprecated in favour of the new ioc more efficient. You should really be using libraw1394 for raw1394 access anyway. Who: Jody McIntyre + +--------------------------- + +What: remove EXPORT_SYMBOL(insert_resource) +When: April 2006 +Files: kernel/resource.c +Why: No modular usage in the kernel. +Who: Adrian Bunk diff -puN include/linux/ioport.h~__deprecated_for_modules-insert_resource include/linux/ioport.h --- 25/include/linux/ioport.h~__deprecated_for_modules-insert_resource 2005-05-06 17:43:48.000000000 -0700 +++ 25-akpm/include/linux/ioport.h 2005-05-06 17:43:48.000000000 -0700 @@ -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, _