Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340610

Re: [PATCH] ARM: realview: hide unused 'pmu_device' object

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: realview: hide unused 'pmu_device' object
Date 2016-02-23 14:40 +0100
Message-ID <r5lm3-65T-43@gated-at.bofh.it> (permalink)
References <r5lm2-65T-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 23, 2016 at 2:35 PM, Arnd Bergmann <arnd@arndb.de> wrote:

> The pmu_device is only accessed when CACHE_L2X0 is enabled,
> and we get a warning otherwise:
>
> mach-realview/realview_pbx.c:274:31: error: 'pmu_device' defined but not used [-Werror=unused-variable]
>
> This adds another #ifdef for it.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> Linus, I'm not sure how long you plan to keep the board file around,
> so just ignore the patch if this is getting deleted anyway, otherwise
> it would be nice if you could add the patch to your series.

I'll queue it in the bottom of my stack, it doesn't hurt.

I'm working on DTSes for the PBX as we speak.

Yours,
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: realview: hide unused 'pmu_device' object Arnd Bergmann <arnd@arndb.de> - 2016-02-23 14:40 +0100
  Re: [PATCH] ARM: realview: hide unused 'pmu_device' object Linus Walleij <linus.walleij@linaro.org> - 2016-02-23 14:40 +0100

csiph-web