aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/realview_pb1176.c
diff options
context:
space:
mode:
authorGravatar Mark Rutland <mark.rutland@arm.com> 2014-05-23 12:12:04 +0100
committerGravatar Olof Johansson <olof@lixom.net> 2015-02-06 00:12:55 -0800
commitcbed8388bfd613da631cf3c1940ba3c8a34a915b (patch)
tree1df49df9963d1e8da357a77e9a61342baad0cdc2 /arch/arm/mach-realview/realview_pb1176.c
parentMerge tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-cbed8388bfd613da631cf3c1940ba3c8a34a915b.tar.gz
linux-cbed8388bfd613da631cf3c1940ba3c8a34a915b.tar.bz2
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_pb1176.c')
-rw-r--r--arch/arm/mach-realview/realview_pb1176.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c
index b0e0dcaed944..ce92c1823494 100644
--- a/arch/arm/mach-realview/realview_pb1176.c
+++ b/arch/arm/mach-realview/realview_pb1176.c
@@ -280,7 +280,7 @@ static struct resource pmu_resource = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv6-pmu",
.id = -1,
.num_resources = 1,
.resource = &pmu_resource,