arm: iop: specify PMUs are for XScale CPUs
authorMark Rutland <mark.rutland@arm.com>
Fri, 23 May 2014 13:39:39 +0000 (14:39 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 6 Feb 2015 08:12:59 +0000 (00:12 -0800)
Now that we can specify which PMU variant we're likely to deal with, do
so in the iop board code. This will allow us to split the ARMv6, ARMv7,
and XScale PMU drivers.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/plat-iop/pmu.c

index ad9f9744a82d12b22e4c8d8407e686867b79f351..c6d979ace52491d027f68344f70d01c4a63903c7 100644 (file)
@@ -24,7 +24,7 @@ static struct resource pmu_resource = {
 };
 
 static struct platform_device pmu_device = {
-       .name           = "arm-pmu",
+       .name           = "xscale-pmu",
        .id             = -1,
        .resource       = &pmu_resource,
        .num_resources  = 1,