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/ad54e27de8fc
branches: trunk
changeset: 992767:ad54e27de8fc
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 a9da65a0a913 -r ad54e27de8fc 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