arm: pxa: specify PMUs are for XScale CPUs
authorMark Rutland <mark.rutland@arm.com>
Fri, 23 May 2014 11:27:37 +0000 (12:27 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 6 Feb 2015 08:12:57 +0000 (00:12 -0800)
Now that we can specify which PMU variant we're likely to deal with, do
so in the pxa 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: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-pxa/devices.c

index ac7b3eabbd858e88adfd098da6b9d60db696feda..35434662dc7c2ff3e6231b13884f4ea709eae278 100644 (file)
@@ -40,7 +40,7 @@ static struct resource pxa_resource_pmu = {
 };
 
 struct platform_device pxa_device_pmu = {
-       .name           = "arm-pmu",
+       .name           = "xscale-pmu",
        .id             = -1,
        .resource       = &pxa_resource_pmu,
        .num_resources  = 1,