diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_irq.h | 8 | ||||
-rw-r--r-- | include/linux/of_pci.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/of_irq.h b/include/linux/of_irq.h index fcd63baee5f2..a00bc71e62a3 100644 --- a/include/linux/of_irq.h +++ b/include/linux/of_irq.h | |||
@@ -35,12 +35,12 @@ typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); | |||
35 | #if defined(CONFIG_PPC32) && defined(CONFIG_PPC_PMAC) | 35 | #if defined(CONFIG_PPC32) && defined(CONFIG_PPC_PMAC) |
36 | extern unsigned int of_irq_workarounds; | 36 | extern unsigned int of_irq_workarounds; |
37 | extern struct device_node *of_irq_dflt_pic; | 37 | extern struct device_node *of_irq_dflt_pic; |
38 | extern int of_irq_map_oldworld(struct device_node *device, int index, | 38 | extern int of_irq_parse_oldworld(struct device_node *device, int index, |
39 | struct of_irq *out_irq); | 39 | struct of_irq *out_irq); |
40 | #else /* CONFIG_PPC32 && CONFIG_PPC_PMAC */ | 40 | #else /* CONFIG_PPC32 && CONFIG_PPC_PMAC */ |
41 | #define of_irq_workarounds (0) | 41 | #define of_irq_workarounds (0) |
42 | #define of_irq_dflt_pic (NULL) | 42 | #define of_irq_dflt_pic (NULL) |
43 | static inline int of_irq_map_oldworld(struct device_node *device, int index, | 43 | static inline int of_irq_parse_oldworld(struct device_node *device, int index, |
44 | struct of_irq *out_irq) | 44 | struct of_irq *out_irq) |
45 | { | 45 | { |
46 | return -EINVAL; | 46 | return -EINVAL; |
@@ -48,10 +48,10 @@ static inline int of_irq_map_oldworld(struct device_node *device, int index, | |||
48 | #endif /* CONFIG_PPC32 && CONFIG_PPC_PMAC */ | 48 | #endif /* CONFIG_PPC32 && CONFIG_PPC_PMAC */ |
49 | 49 | ||
50 | 50 | ||
51 | extern int of_irq_map_raw(struct device_node *parent, const __be32 *intspec, | 51 | extern int of_irq_parse_raw(struct device_node *parent, const __be32 *intspec, |
52 | u32 ointsize, const __be32 *addr, | 52 | u32 ointsize, const __be32 *addr, |
53 | struct of_irq *out_irq); | 53 | struct of_irq *out_irq); |
54 | extern int of_irq_map_one(struct device_node *device, int index, | 54 | extern int of_irq_parse_one(struct device_node *device, int index, |
55 | struct of_irq *out_irq); | 55 | struct of_irq *out_irq); |
56 | extern unsigned int irq_create_of_mapping(struct device_node *controller, | 56 | extern unsigned int irq_create_of_mapping(struct device_node *controller, |
57 | const u32 *intspec, | 57 | const u32 *intspec, |
diff --git a/include/linux/of_pci.h b/include/linux/of_pci.h index fd9c408631a0..839ba20808fe 100644 --- a/include/linux/of_pci.h +++ b/include/linux/of_pci.h | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | struct pci_dev; | 7 | struct pci_dev; |
8 | struct of_irq; | 8 | struct of_irq; |
9 | int of_irq_map_pci(const struct pci_dev *pdev, struct of_irq *out_irq); | 9 | int of_irq_parse_pci(const struct pci_dev *pdev, struct of_irq *out_irq); |
10 | 10 | ||
11 | struct device_node; | 11 | struct device_node; |
12 | struct device_node *of_pci_find_child_device(struct device_node *parent, | 12 | struct device_node *of_pci_find_child_device(struct device_node *parent, |