diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-12-10 18:14:42 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-11 09:53:09 +1100 |
commit | 9dfe4b14df93532da3dbf11952a17389ae3cdc67 (patch) | |
tree | 7f597ef1589a72eafe60f984cd3512b3fabc4d7f /arch/powerpc/sysdev/xive/xive-internal.h | |
parent | e2cf43d59525477cfd030378c3c808187952c531 (diff) |
powerpc/xive: Add a name to the IRQ domain
We hope one day to handle multiple irq_domain in the XIVE driver.
Start simple by setting the name using the DT node.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201210171450.1933725-6-clg@kaod.org
Diffstat (limited to 'arch/powerpc/sysdev/xive/xive-internal.h')
-rw-r--r-- | arch/powerpc/sysdev/xive/xive-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/xive/xive-internal.h b/arch/powerpc/sysdev/xive/xive-internal.h index d701af7fb48c..c07fadb9d264 100644 --- a/arch/powerpc/sysdev/xive/xive-internal.h +++ b/arch/powerpc/sysdev/xive/xive-internal.h @@ -63,8 +63,8 @@ struct xive_ops { const char *name; }; -bool xive_core_init(const struct xive_ops *ops, void __iomem *area, u32 offset, - u8 max_prio); +bool xive_core_init(struct device_node *np, const struct xive_ops *ops, + void __iomem *area, u32 offset, u8 max_prio); __be32 *xive_queue_page_alloc(unsigned int cpu, u32 queue_shift); int xive_core_debug_init(void); |