Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/include/drm ERR_PTR needs <linux/...



details:   https://anonhg.NetBSD.org/src/rev/f53a302d3744
branches:  trunk
changeset: 1027795:f53a302d3744
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:46:15 2021 +0000

description:
ERR_PTR needs <linux/err.h>.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_edid.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b3e97885f878 -r f53a302d3744 sys/external/bsd/drm2/dist/include/drm/drm_edid.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_edid.h Sun Dec 19 00:46:08 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_edid.h Sun Dec 19 00:46:15 2021 +0000
@@ -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 @@
 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)
 {



Home | Main Index | Thread Index | Old Index