瀏覽代碼

arm: shmobile: specify PMUs are for ARMv7 CPUs

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>
Mark Rutland 11 年之前
父節點
當前提交
744503b35a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/arm/mach-shmobile/setup-r8a7740.c
  2. 1 1
      arch/arm/mach-shmobile/setup-sh73a0.c

+ 1 - 1
arch/arm/mach-shmobile/setup-r8a7740.c

@@ -656,7 +656,7 @@ static struct resource pmu_resources[] = {
 };
 };
 
 
 static struct platform_device pmu_device = {
 static struct platform_device pmu_device = {
-	.name	= "arm-pmu",
+	.name	= "armv7-pmu",
 	.id	= -1,
 	.id	= -1,
 	.num_resources = ARRAY_SIZE(pmu_resources),
 	.num_resources = ARRAY_SIZE(pmu_resources),
 	.resource = pmu_resources,
 	.resource = pmu_resources,

+ 1 - 1
arch/arm/mach-shmobile/setup-sh73a0.c

@@ -563,7 +563,7 @@ static struct resource pmu_resources[] = {
 };
 };
 
 
 static struct platform_device pmu_device = {
 static struct platform_device pmu_device = {
-	.name		= "arm-pmu",
+	.name		= "armv7-pmu",
 	.id		= -1,
 	.id		= -1,
 	.num_resources	= ARRAY_SIZE(pmu_resources),
 	.num_resources	= ARRAY_SIZE(pmu_resources),
 	.resource	= pmu_resources,
 	.resource	= pmu_resources,