Skip to contentSkip to conversation

the scheduled unexport of insert_resource

PATCH New Adrian Bunk 1 participant 1 message Apr 18, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 the scheduled unexport of insert_resource

This patch contains the scheduled unexport of insert_resource.

---

This patch was already sent on:
- 11 Apr 2006

 Documentation/feature-removal-schedule.txt |    8 --------
 include/linux/ioport.h                     |    2 +-
 kernel/resource.c                          |    2 --
 3 files changed, 1 insertion(+), 11 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +0 -8
@@ -72,14 +72,6 @@
 
 ---------------------------
 
-What:	remove EXPORT_SYMBOL(insert_resource)
-When:	April 2006
-Files:	kernel/resource.c
-Why:	No modular usage in the kernel.
-Who:	Adrian Bunk <[email protected]>
-
----------------------------
-
 What:	PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
 When:	November 2005
 Files:	drivers/pcmcia/: pcmcia_ioctl.c
include/linux/ioport.h renamed from include/linux/ioport.h.old +1 -1
@@ -95,7 +95,7 @@
 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 __deprecated_for_modules int insert_resource(struct resource *parent, struct resource *new);
+extern int insert_resource(struct resource *parent, struct resource *new);
 extern int allocate_resource(struct resource *root, struct resource *new,
 			     u64 size,
 			     u64 min, u64 max,
kernel/resource.c renamed from kernel/resource.c.old +0 -2
@@ -381,8 +381,6 @@
 	return result;
 }
 
-EXPORT_SYMBOL(insert_resource);
-
 /*
  * Given an existing resource, change its start and size to match the
  * arguments.  Returns -EBUSY if it can't fit.  Existing children of