irqchip/gic: Prepare for adding platform driver
authorJon Hunter <jonathanh@nvidia.com>
Tue, 7 Jun 2016 15:12:32 +0000 (16:12 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 13 Jun 2016 10:53:52 +0000 (11:53 +0100)
commitcdbb813db6925f9dcd352841d8ba28f2edd83ff8
treea13e0fea29fae0874d6d49305620da394f8ec6ef
parentfaea645585de88303a74171321a9188fd3dd7df5
irqchip/gic: Prepare for adding platform driver

To support GICs that require runtime power management, it is necessary
to add a platform driver, so that the probing of the chip can be
deferred if resources, such as a power-domain, is not yet available.

To prepare for adding a platform driver:
 1. Drop the __init section from the gic_dist_config() so this can be
    re-used by the platform driver.
 2. Add prototypes for functions required by the platform driver to the
    GIC header file so they can be re-used.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-common.c
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic.h