[Intel-gfx] [PATCH] agp/intel: Move intel_fake_agp_sizes into #ifdef block

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Jan 23 08:06:15 UTC 2017

On la, 2017-01-21 at 18:22 +0000, Chris Wilson wrote:
> Move the intel_fake_agp_sizes array into the same #ifdef block as it is
> used to avoid instantiation when not used, and so triggering a compiler
> warning
> drivers/char/agp/intel-gtt.c:335:42: warning: ‘intel_fake_agp_sizes’
> defined but not used [-Wunused-const-variable=]
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
Joonas Lahtinen
Open Source Technology Center
Intel Corporation

More information about the Intel-gfx mailing list