diff options
author | Rob Herring <[email protected]> | 2011-09-28 21:27:52 -0500 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2011-10-31 14:03:26 +0100 |
commit | b3f7ed0324091e2cb23fe1b3c10570700f614014 (patch) | |
tree | 6f9a14a39fc4302276a1560cb48c1ede72fc5dff /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4294f8baaf174c9aa57886e7ed27caf4b02578f6 (diff) |
ARM: gic: add OF based initialization
This adds ARM gic interrupt controller initialization using device tree
data.
The initialization function is intended to be called by of_irq_init
function like this:
const static struct of_device_id irq_match[] = {
{ .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
{}
};
static void __init init_irqs(void)
{
of_irq_init(irq_match);
}
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Jamie Iles <[email protected]>
Tested-by: Thomas Abraham <[email protected]>
Acked-by: Grant Likely <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions