diff options
Diffstat (limited to 'arch/arm/plat-pxa/pmu.c')
| -rw-r--r-- | arch/arm/plat-pxa/pmu.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/arm/plat-pxa/pmu.c b/arch/arm/plat-pxa/pmu.c deleted file mode 100644 index 267ceb6feb2f..000000000000 --- a/arch/arm/plat-pxa/pmu.c +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * PMU IRQ registration for the PXA xscale PMU families. | ||
| 3 | * Copyright (C) 2010 Will Deacon, ARM Ltd. | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | ||
| 10 | |||
| 11 | #include <linux/platform_device.h> | ||
| 12 | #include <asm/pmu.h> | ||
| 13 | #include <mach/irqs.h> | ||
| 14 | |||
| 15 | static struct resource pmu_resource = { | ||
| 16 | .start = IRQ_PMU, | ||
| 17 | .end = IRQ_PMU, | ||
| 18 | .flags = IORESOURCE_IRQ, | ||
| 19 | }; | ||
| 20 | |||
| 21 | static struct platform_device pmu_device = { | ||
| 22 | .name = "arm-pmu", | ||
| 23 | .id = ARM_PMU_DEVICE_CPU, | ||
| 24 | .resource = &pmu_resource, | ||
| 25 | .num_resources = 1, | ||
| 26 | }; | ||
| 27 | |||
| 28 | static int __init pxa_pmu_init(void) | ||
| 29 | { | ||
| 30 | platform_device_register(&pmu_device); | ||
| 31 | return 0; | ||
| 32 | } | ||
| 33 | arch_initcall(pxa_pmu_init); | ||
