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/drm/radeon add header file hack t...



details:   https://anonhg.NetBSD.org/src/rev/98f969b02f91
branches:  trunk
changeset: 977296:98f969b02f91
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Oct 20 09:53:59 2020 +0000

description:
add header file hack to resolve conflict of ALIGN macro. (on __BIG_ENDIAN)

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 07496227f745 -r 98f969b02f91 sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c        Tue Oct 20 08:57:45 2020 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c        Tue Oct 20 09:53:59 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_atombios_dp.c,v 1.2 2020/01/07 13:51:38 msaitoh Exp $   */
+/*     $NetBSD: radeon_atombios_dp.c,v 1.3 2020/10/20 09:53:59 ryo Exp $       */
 
 /*
  * Copyright 2007-8 Advanced Micro Devices, Inc.
@@ -27,7 +27,7 @@
  *          Jerome Glisse
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_atombios_dp.c,v 1.2 2020/01/07 13:51:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_atombios_dp.c,v 1.3 2020/10/20 09:53:59 ryo Exp $");
 
 #include <drm/drmP.h>
 #include <drm/radeon_drm.h>
@@ -37,6 +37,8 @@
 #include "atom-bits.h"
 #include <drm/drm_dp_helper.h>
 
+#include <linux/nbsd-namespace.h>
+
 /* move these to drm_dp_helper.c/h */
 #define DP_LINK_CONFIGURATION_SIZE 9
 #define DP_DPCD_SIZE DP_RECEIVER_CAP_SIZE



Home | Main Index | Thread Index | Old Index