diff options
Diffstat (limited to 'arch/powerpc/include/asm/prom.h')
-rw-r--r-- | arch/powerpc/include/asm/prom.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h index 2ab9cbd98826..ddd408a93b5a 100644 --- a/arch/powerpc/include/asm/prom.h +++ b/arch/powerpc/include/asm/prom.h | |||
@@ -23,21 +23,8 @@ | |||
23 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
24 | #include <asm/atomic.h> | 24 | #include <asm/atomic.h> |
25 | 25 | ||
26 | #define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 1 | ||
27 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | ||
28 | |||
29 | #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) | ||
30 | #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) | ||
31 | #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) | ||
32 | |||
33 | extern struct device_node *of_chosen; | ||
34 | |||
35 | #define HAVE_ARCH_DEVTREE_FIXUPS | 26 | #define HAVE_ARCH_DEVTREE_FIXUPS |
36 | 27 | ||
37 | /* For updating the device tree at runtime */ | ||
38 | extern void of_attach_node(struct device_node *); | ||
39 | extern void of_detach_node(struct device_node *); | ||
40 | |||
41 | #ifdef CONFIG_PPC32 | 28 | #ifdef CONFIG_PPC32 |
42 | /* | 29 | /* |
43 | * PCI <-> OF matching functions | 30 | * PCI <-> OF matching functions |
@@ -52,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *); | |||
52 | extern void pci_create_OF_bus_map(void); | 39 | extern void pci_create_OF_bus_map(void); |
53 | #endif | 40 | #endif |
54 | 41 | ||
55 | extern struct resource *request_OF_resource(struct device_node* node, | ||
56 | int index, const char* name_postfix); | ||
57 | extern int release_OF_resource(struct device_node* node, int index); | ||
58 | |||
59 | |||
60 | /* | 42 | /* |
61 | * OF address retreival & translation | 43 | * OF address retreival & translation |
62 | */ | 44 | */ |