devices.c (e5567598c61907187261aba7095ac825d8060827) devices.c (293b2da1b61136813fc2764f43304c66ff8040e9)
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>
9#include <mach/udc.h>
10#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>
11#include <linux/platform_data/usb-pxa3xx-ulpi.h>
12#include <linux/platform_data/video-pxafb.h>
13#include <linux/platform_data/mmc-pxamci.h>
14#include <linux/platform_data/irda-pxaficp.h>
14#include <mach/irqs.h>
15#include <mach/irqs.h>
15#include <mach/ohci.h>
16#include <plat/pxa27x_keypad.h>
17#include <mach/camera.h>
16#include <linux/platform_data/usb-ohci-pxa27x.h>
17#include <linux/platform_data/keypad-pxa27x.h>
18#include <linux/platform_data/camera-pxa.h>
18#include <mach/audio.h>
19#include <mach/hardware.h>
19#include <mach/audio.h>
20#include <mach/hardware.h>
20#include <plat/pxa3xx_nand.h>
21#include <linux/platform_data/mtd-nand-pxa3xx.h>
21
22#include "devices.h"
23#include "generic.h"
24
25void __init pxa_register_device(struct platform_device *dev, void *data)
26{
27 int ret;
28

--- 7 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",
22
23#include "devices.h"
24#include "generic.h"
25
26void __init pxa_register_device(struct platform_device *dev, void *data)
27{
28 int ret;
29

--- 7 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",
44 .id = -1,
45 .id = ARM_PMU_DEVICE_CPU,
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 ---
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 ---