Skip to content

Commit

Permalink
arm: shmobile: specify PMUs are for ARMv7 CPUs
Browse files Browse the repository at this point in the history
Now that we can specify which PMU variant we're likely to deal with, do
so in the shmobile board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Mark Rutland authored and Olof Johansson committed Feb 6, 2015
1 parent b22a75c commit 744503b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/setup-r8a7740.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ static struct resource pmu_resources[] = {
};

static struct platform_device pmu_device = {
.name = "arm-pmu",
.name = "armv7-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/setup-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ static struct resource pmu_resources[] = {
};

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

0 comments on commit 744503b

Please sign in to comment.