svn commit: r365287 - head/sys/dev/drm2

Niclas Zeising zeising at FreeBSD.org
Thu Sep 3 05:25:40 UTC 2020


Author: zeising (doc,ports committer)
Date: Thu Sep  3 05:25:39 2020
New Revision: 365287
URL: https://svnweb.freebsd.org/changeset/base/365287

Log:
  drm2: Fix build after r365264
  
  Fix the build after r365264, I forgot to exclude arm in one more place.
  
  Reported by:	rpokala
  Approved by:	manu (implicit, build fix)
  MFC after:	3 days
  X-MFC-With:	365264
  Pointy-hat to:	zeising

Modified:
  head/sys/dev/drm2/drm_os_freebsd.c

Modified: head/sys/dev/drm2/drm_os_freebsd.c
==============================================================================
--- head/sys/dev/drm2/drm_os_freebsd.c	Thu Sep  3 03:48:42 2020	(r365286)
+++ head/sys/dev/drm2/drm_os_freebsd.c	Thu Sep  3 05:25:39 2020	(r365287)
@@ -126,7 +126,9 @@ drm_probe_helper(device_t kdev, const drm_pci_id_list_
 			    device_get_nameunit(kdev), id_entry->name);
 			device_set_desc(kdev, id_entry->name);
 		}
+#if !defined(__arm__)
 		DRM_OBSOLETE(kdev);
+#endif
 		return (-BUS_PROBE_GENERIC);
 	}
 


More information about the svn-src-all mailing list