diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-06-07 16:12:31 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-06-13 11:53:52 +0100 |
commit | faea645585de88303a74171321a9188fd3dd7df5 (patch) | |
tree | 9ae09b2d257e514c9fba988f7d48ae2e7a7f0ae5 /drivers/mtd/mtdconcat.c | |
parent | d6ce564cea0c9f8fe7e1b400026482f4e61d38ad (diff) | |
download | lwn-faea645585de88303a74171321a9188fd3dd7df5.tar.gz lwn-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/mtd/mtdconcat.c')
0 files changed, 0 insertions, 0 deletions