summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-gic-common.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2016-06-07 17:12:31 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2016-06-13 12:53:52 +0200
commitfaea645585de88303a74171321a9188fd3dd7df5 (patch)
tree9ae09b2d257e514c9fba988f7d48ae2e7a7f0ae5 /drivers/irqchip/irq-gic-common.c
parentirqchip/gic: Isolate early GIC initialisation code (diff)
downloadlinux-faea645585de88303a74171321a9188fd3dd7df5.tar.xz
linux-faea645585de88303a74171321a9188fd3dd7df5.zip
irqchip/gic: Add helper function for chip initialisation
For GICs that require runtime power-management it is necessary to populate the 'parent_device' member of the irqchip structure. In preparation for supporting such GICs, move the code that initialises the irqchip structure for a GIC into its own function called gic_init_chip() where the parent device pointer is also set. Instead of calling gic_init_chip() from within gic_init_bases(), move the calls to outside of this function, so that in the future we can avoid having to pass additional parameters to gic_init_bases() in order set the parent device pointer or set the name to a specific string. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-gic-common.c')
0 files changed, 0 insertions, 0 deletions