The ValleyView PCI ids are #ifdef notyet in the table which references these 
structs so
stick these under #ifdef notyet too until the ids are enabled.

i915_drv.c:288:39: error: unused variable 'intel_valleyview_m_info' 
[-Werror,-Wunused-const-variable]
i915_drv.c:297:39: error: unused variable 'intel_valleyview_d_info' 
[-Werror,-Wunused-const-variable]

OK?


Index: i915_drv.c
===================================================================
RCS file: /home/cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v
retrieving revision 1.54
diff -u -p -r1.54 i915_drv.c
--- i915_drv.c  1 Dec 2013 13:53:52 -0000       1.54
+++ i915_drv.c  4 Dec 2013 01:20:10 -0000
@@ -285,6 +285,7 @@ static const struct intel_device_info in
        .has_force_wake = 1,
 };
 
+#ifdef notyet
 static const struct intel_device_info intel_valleyview_m_info = {
        .gen = 7, .is_mobile = 1,
        .need_gfx_hws = 1, .has_hotplug = 1,
@@ -302,6 +303,7 @@ static const struct intel_device_info in
        .has_blt_ring = 1,
        .is_valleyview = 1,
 };
+#endif
 
 static const struct intel_device_info intel_haswell_d_info = {
        .is_haswell = 1, .gen = 7,

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to