devices.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) devices.c (df3d17e068bf69e3c5a53d52d30caad3d061b762)
1#include <linux/module.h>
2#include <linux/kernel.h>
3#include <linux/init.h>
4#include <linux/platform_device.h>
5#include <linux/dma-mapping.h>
6#include <linux/spi/pxa2xx_spi.h>
7#include <linux/i2c/pxa-i2c.h>
8
1#include <linux/module.h>
2#include <linux/kernel.h>
3#include <linux/init.h>
4#include <linux/platform_device.h>
5#include <linux/dma-mapping.h>
6#include <linux/spi/pxa2xx_spi.h>
7#include <linux/i2c/pxa-i2c.h>
8
9#include <asm/pmu.h>
10#include <mach/udc.h>
11#include <mach/pxa3xx-u2d.h>
12#include <mach/pxafb.h>
13#include <mach/mmc.h>
14#include <mach/irda.h>
15#include <mach/irqs.h>
16#include <mach/ohci.h>
17#include <plat/pxa27x_keypad.h>

--- 19 unchanged lines hidden (view full) ---

37static struct resource pxa_resource_pmu = {
38 .start = IRQ_PMU,
39 .end = IRQ_PMU,
40 .flags = IORESOURCE_IRQ,
41};
42
43struct platform_device pxa_device_pmu = {
44 .name = "arm-pmu",
9#include <mach/udc.h>
10#include <mach/pxa3xx-u2d.h>
11#include <mach/pxafb.h>
12#include <mach/mmc.h>
13#include <mach/irda.h>
14#include <mach/irqs.h>
15#include <mach/ohci.h>
16#include <plat/pxa27x_keypad.h>

--- 19 unchanged lines hidden (view full) ---

36static struct resource pxa_resource_pmu = {
37 .start = IRQ_PMU,
38 .end = IRQ_PMU,
39 .flags = IORESOURCE_IRQ,
40};
41
42struct platform_device pxa_device_pmu = {
43 .name = "arm-pmu",
45 .id = ARM_PMU_DEVICE_CPU,
44 .id = -1,
46 .resource = &pxa_resource_pmu,
47 .num_resources = 1,
48};
49
50static struct resource pxamci_resources[] = {
51 [0] = {
52 .start = 0x41100000,
53 .end = 0x41100fff,

--- 1065 unchanged lines hidden ---
45 .resource = &pxa_resource_pmu,
46 .num_resources = 1,
47};
48
49static struct resource pxamci_resources[] = {
50 [0] = {
51 .start = 0x41100000,
52 .end = 0x41100fff,

--- 1065 unchanged lines hidden ---