History

of/irq: Export of_irq_find_parent again

of_irq_find_parent was made static since it had no users outside of of_irq.c. Export it again since we are going to use it again.

Carlo Caione committed 10 years ago

Commit 4c3141e1 parent f8062382 files · +8 −1Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/of_irq.h+6−0
@@ -46,6 +46,7 @@ extern int of_irq_get(struct device_node *dev, int index); · 45 unmodified lines
4646 extern int of_irq_get_byname(struct device_node *dev, const char *name);
4747 extern int of_irq_to_resource_table(struct device_node *dev,
4848 struct resource *res, int nr_irqs);
49+extern struct device_node *of_irq_find_parent(struct device_node *child);
4950 extern struct irq_domain *of_msi_get_domain(struct device *dev,
5051 struct device_node *np,
5152 enum irq_domain_bus_token token);
@@ -70,6 +71,11 @@ static inline int of_irq_to_resource_table(struct device_node *dev, · 18 unmodified lines
7071 {
7172 return 0;
7273 }
74+static inline void *of_irq_find_parent(struct device_node *child)
75+{
76+ return NULL;
77+}
78+
7379 static inline struct irq_domain *of_msi_get_domain(struct device *dev,
7480 struct device_node *np,
7581 enum irq_domain_bus_token token)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t