linux_dsm_epyc7002/drivers/char/agp
Chris Wilson 62fa0ce2bd agp/intel: Move intel_fake_agp_sizes into #ifdef block
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@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170121182233.30852-1-chris@chris-wilson.co.uk
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2017-01-23 09:15:29 +00:00
..
agp.h agp: change agp_free_page_array to use kvfree 2015-01-29 12:37:41 +10:00
ali-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
alpha-agp.c mm: use vmf->address instead of of vmf->virtual_address 2016-12-14 16:04:09 -08:00
amd64-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
amd-k7-agp.c agp: Use pci_resource_start() to get CPU physical address for BAR 2014-01-07 11:36:35 -07:00
ati-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
backend.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
compat_ioctl.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
compat_ioctl.h agp: kill agp_flush_chipset and corresponding ioctl 2010-11-23 20:14:45 +00:00
efficeon-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
frontend.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
generic.c agp: change agp_free_page_array to use kvfree 2015-01-29 12:37:41 +10:00
hp-agp.c [IA64] agp/hp-agp: Allow binding user memory to the AGP GART 2011-08-23 13:31:59 -07:00
i460-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
intel-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
intel-agp.h agp/intel: Use pci_bus_address() to get GTTADR bus address 2014-01-07 11:37:12 -07:00
intel-gtt.c agp/intel: Move intel_fake_agp_sizes into #ifdef block 2017-01-23 09:15:29 +00:00
isoch.c agp: use dev_printk when possible 2008-08-12 10:13:38 +10:00
Kconfig drm/i915: Make AGP support optional 2013-11-08 18:37:32 +01:00
Makefile drm/i915: Make AGP support optional 2013-11-08 18:37:32 +01:00
nvidia-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
parisc-agp.c parisc: agp/parisc-agp: allow binding of user memory to the AGP GART 2013-07-31 23:42:00 +02:00
sgi-agp.c drivers/char: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
sis-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
sworks-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
uninorth-agp.c PCI: Remove includes of asm/pci-bridge.h 2016-02-05 16:29:28 -06:00
via-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00