summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-02-14 22:14:00 +0100
committerGrant Likely <grant.likely@secretlab.ca>2010-02-14 21:02:45 +0100
commitdf0edeb59eb559be0bee53452fda2f5cc0ae133f (patch)
tree9c166de97de827227d96614bd2dc1eab7863827e
parentof/sparc: Remove sparc-local declaration of allnodes and devtree_lock (diff)
downloadlinux-df0edeb59eb559be0bee53452fda2f5cc0ae133f.tar.xz
linux-df0edeb59eb559be0bee53452fda2f5cc0ae133f.zip
of: remove undefined request_OF_resource & release_OF_resource
Neither request_OF_resource or release_OF_resource are defined anywhere. Remove the declarations. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michal Simek <monstr@monstr.eu>
-rw-r--r--arch/microblaze/include/asm/prom.h4
-rw-r--r--arch/powerpc/include/asm/prom.h5
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h
index aa1a437ac87d..03f45a963204 100644
--- a/arch/microblaze/include/asm/prom.h
+++ b/arch/microblaze/include/asm/prom.h
@@ -31,10 +31,6 @@
/* Other Prototypes */
extern int early_uartlite_console(void);
-extern struct resource *request_OF_resource(struct device_node *node,
- int index, const char *name_postfix);
-extern int release_OF_resource(struct device_node *node, int index);
-
/*
* OF address retreival & translation
*/
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f9a50aab157..ddd408a93b5a 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -39,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *);
extern void pci_create_OF_bus_map(void);
#endif
-extern struct resource *request_OF_resource(struct device_node* node,
- int index, const char* name_postfix);
-extern int release_OF_resource(struct device_node* node, int index);
-
-
/*
* OF address retreival & translation
*/