arm: shmobile: specify PMUs are for ARMv7 CPUs
authorMark Rutland <mark.rutland@arm.com>
Fri, 23 May 2014 13:51:50 +0000 (14:51 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 6 Feb 2015 08:13:01 +0000 (00:13 -0800)
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>
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-sh73a0.c

index 79ad93dfdae4ee7083f2c2f1351ee863355d20c4..6edde2f3fb382d45d588e8a57fbf77b3bb5531a0 100644 (file)
@@ -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,
index 93ebe3430bfe707ac234b35f37deb54a1998a531..bdfa7a56ee7d2a7d18184565871fae32cc2d7d34 100644 (file)
@@ -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,