Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 27 07:44:22 UTC 2018

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/radeon: radeon_fb.c

Log Message:
Ifdef out Linux framebuffer API in error branch.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c

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/drm/radeon/radeon_fb.c
diff -u src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c:1.6 src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c:1.7
--- src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c:1.6	Mon Aug 27 04:58:36 2018
+++ src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c	Mon Aug 27 07:44:22 2018
@@ -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 @@ static int radeonfb_create(struct drm_fb
 #endif
 	return 0;
 
+#ifndef __NetBSD__
 out_destroy_fbi:
 	drm_fb_helper_release_fbi(helper);
+#endif
 out_unref:
 	if (rbo) {
 

Reply via email to