From: horms@verge.net.au (Simon Horman) Date: Thu, 20 Nov 2014 10:12:08 +0900 Subject: [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs In-Reply-To: <1416397800-12457-6-git-send-email-mark.rutland@arm.com> References: <1416397800-12457-1-git-send-email-mark.rutland@arm.com> <1416397800-12457-6-git-send-email-mark.rutland@arm.com> Message-ID: <20141120011208.GI5065@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Nov 19, 2014 at 11:49:59AM +0000, Mark Rutland wrote: > 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 > Cc: Simon Horman > Cc: Magnus Damm > Cc: Olof Johansson > Cc: Arnd Bergmann > --- > arch/arm/mach-shmobile/setup-r8a7740.c | 2 +- > arch/arm/mach-shmobile/setup-sh73a0.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Hi Mark, I'm happy to take this through my tree for v3.20. > > diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c > index 8894e1b..f3abc9e 100644 > --- a/arch/arm/mach-shmobile/setup-r8a7740.c > +++ b/arch/arm/mach-shmobile/setup-r8a7740.c > @@ -659,7 +659,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, > diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c > index b7bd8e5..23aa1c1 100644 > --- a/arch/arm/mach-shmobile/setup-sh73a0.c > +++ b/arch/arm/mach-shmobile/setup-sh73a0.c > @@ -546,7 +546,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, > -- > 1.9.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >