GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / plat-s5p / dev-pmu.c
bloba08576da72b0efcd60c365da566797ba109c0064
1 /*
2 * linux/arch/arm/plat-s5p/dev-pmu.c
4 * Copyright (C) 2010 Samsung Electronics Co.Ltd
5 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
14 #include <linux/platform_device.h>
15 #include <asm/pmu.h>
16 #include <mach/irqs.h>
18 static struct resource s5p_pmu_resource = {
19 .start = IRQ_PMU,
20 .end = IRQ_PMU,
21 .flags = IORESOURCE_IRQ,
24 struct platform_device s5p_device_pmu = {
25 .name = "arm-pmu",
26 .id = ARM_PMU_DEVICE_CPU,
27 .num_resources = 1,
28 .resource = &s5p_pmu_resource,
31 static int __init s5p_pmu_init(void)
33 platform_device_register(&s5p_device_pmu);
34 return 0;
36 arch_initcall(s5p_pmu_init);