瀏覽代碼

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>
Grant Likely 15 年之前
父節點
當前提交
df0edeb59e
共有 2 個文件被更改,包括 0 次插入9 次删除
  1. 0 4
      arch/microblaze/include/asm/prom.h
  2. 0 5
      arch/powerpc/include/asm/prom.h

+ 0 - 4
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
  */

+ 0 - 5
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
  */