diff options
author | Mark Rutland <mark.rutland@arm.com> | 2014-05-23 13:12:04 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-02-06 09:12:55 +0100 |
commit | cbed8388bfd613da631cf3c1940ba3c8a34a915b (patch) | |
tree | 1df49df9963d1e8da357a77e9a61342baad0cdc2 /arch/arm/mach-realview/realview_pbx.c | |
parent | Merge tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-cbed8388bfd613da631cf3c1940ba3c8a34a915b.tar.xz linux-cbed8388bfd613da631cf3c1940ba3c8a34a915b.zip |
arm: realview: specify PMU types
Now that we can specify which PMU variant we're likely to deal with, do
so in the realview board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers.
The Realview EB may be used with ARMv6 or ARMv7 CPUs, but luckily
there's only a single ARMv7 CPU, so we can match that explicitly to
determine whether or not we have an ARMv7 PMU.
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>
Diffstat (limited to 'arch/arm/mach-realview/realview_pbx.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index d89eb4023467..9a22b864219f 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c @@ -280,7 +280,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, |