Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326629
b: refs/heads/master
c: e433d44
h: refs/heads/master
i:
  326627: 9a97dd7
v: v3
  • Loading branch information
Tetsuyuki Kobayashi authored and Simon Horman committed Sep 11, 2012
1 parent 9cfdfb6 commit 4e95cdc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f23f5be0ed87f1c53420086c936385d0a80c7e4d
refs/heads/master: e433d4440bf7dd5955a4616cfb9bffd1ec6ab839
1 change: 1 addition & 0 deletions trunk/arch/arm/configs/kzm9d_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CONFIG_LOG_BUF_SHIFT=16
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
CONFIG_SLAB=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_IOSCHED_DEADLINE is not set
Expand Down
21 changes: 21 additions & 0 deletions trunk/arch/arm/mach-shmobile/setup-emev2.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,26 @@ static struct platform_device gio4_device = {
},
};

static struct resource pmu_resources[] = {
[0] = {
.start = 152,
.end = 152,
.flags = IORESOURCE_IRQ,
},
[1] = {
.start = 153,
.end = 153,
.flags = IORESOURCE_IRQ,
},
};

static struct platform_device pmu_device = {
.name = "arm-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
};

static struct platform_device *emev2_early_devices[] __initdata = {
&uart0_device,
&uart1_device,
Expand All @@ -370,6 +390,7 @@ static struct platform_device *emev2_late_devices[] __initdata = {
&gio2_device,
&gio3_device,
&gio4_device,
&pmu_device,
};

void __init emev2_add_standard_devices(void)
Expand Down

0 comments on commit 4e95cdc

Please sign in to comment.