1 // SPDX-License-Identifier: GPL-2.0-only
3 * PMU IRQ registration for the iop3xx xscale PMU families.
4 * Copyright (C) 2010 Will Deacon, ARM Ltd.
7 #include <linux/platform_device.h>
10 static struct resource pmu_resource
= {
11 .start
= IRQ_IOP32X_CORE_PMU
,
12 .end
= IRQ_IOP32X_CORE_PMU
,
13 .flags
= IORESOURCE_IRQ
,
16 static struct platform_device pmu_device
= {
19 .resource
= &pmu_resource
,
23 static int __init
iop3xx_pmu_init(void)
25 platform_device_register(&pmu_device
);
29 arch_initcall(iop3xx_pmu_init
);