Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 00:46:16 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drm_edid.h

Log Message:
ERR_PTR needs <linux/err.h>.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h:1.3 src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h:1.4
--- src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h:1.3	Sat Dec 18 23:45:45 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_edid.h	Sun Dec 19 00:46:15 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: drm_edid.h,v 1.3 2021/12/18 23:45:45 riastradh Exp $	*/
+/*	$NetBSD: drm_edid.h,v 1.4 2021/12/19 00:46:15 riastradh Exp $	*/
 
 /*
  * Copyright © 2007-2008 Intel Corporation
@@ -349,6 +349,7 @@ struct edid *drm_load_edid_firmware(stru
 int __drm_set_edid_firmware_path(const char *path);
 int __drm_get_edid_firmware_path(char *buf, size_t bufsize);
 #else
+#include <linux/err.h>
 static inline struct edid *
 drm_load_edid_firmware(struct drm_connector *connector)
 {

Reply via email to