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 Ifdef out Linux frameb...



details:   https://anonhg.NetBSD.org/src/rev/63658e712a56
branches:  trunk
changeset: 364536:63658e712a56
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:44:22 2018 +0000

description:
Ifdef out Linux framebuffer API in error branch.

diffstat:

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

diffs (29 lines):

diff -r b1c3d3fdc233 -r 63658e712a56 sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c Mon Aug 27 07:44:12 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c Mon Aug 27 07:44:22 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_fb.c,v 1.6 2018/08/27 04:58:36 riastradh Exp $  */
+/*     $NetBSD: radeon_fb.c,v 1.7 2018/08/27 07:44:22 riastradh Exp $  */
 
 /*
  * Copyright © 2007 David Airlie
@@ -26,7 +26,7 @@
  *     David Airlie
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_fb.c,v 1.6 2018/08/27 04:58:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_fb.c,v 1.7 2018/08/27 07:44:22 riastradh Exp $");
 
 #include <linux/module.h>
 #include <linux/slab.h>
@@ -327,8 +327,10 @@
 #endif
        return 0;
 
+#ifndef __NetBSD__
 out_destroy_fbi:
        drm_fb_helper_release_fbi(helper);
+#endif
 out_unref:
        if (rbo) {
 



Home | Main Index | Thread Index | Old Index