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@xxxxxxxxxxxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx