Prerequisite to make x86 more irqdomain compliant.
Unified · Split
| @@ -42,7 +42,16 @@ static inline void debugfs_add_domain_dir(struct irq_domain *d) { } · 41 unmodified lines | ||
| 42 | 42 | static inline void debugfs_remove_domain_dir(struct irq_domain *d) { } |
| 43 | 43 | #endif |
| 44 | 44 | |
| 45 | −const struct fwnode_operations irqchip_fwnode_ops; | |
| 45 | +static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) | |
| 46 | +{ | |
| 47 | + struct irqchip_fwid *fwid = container_of(fwnode, struct irqchip_fwid, fwnode); | |
| 48 | + | |
| 49 | + return fwid->name; | |
| 50 | +} | |
| 51 | + | |
| 52 | +const struct fwnode_operations irqchip_fwnode_ops = { | |
| 53 | + .get_name = irqchip_fwnode_get_name, | |
| 54 | +}; | |
| 46 | 55 | EXPORT_SYMBOL_GPL(irqchip_fwnode_ops); |
| 47 | 56 | |
| 48 | 57 | /** |