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 radeon vga i...
details: https://anonhg.NetBSD.org/src/rev/8539968eab94
branches: trunk
changeset: 366092:8539968eab94
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:48:40 2018 +0000
description:
Ifdef out radeon vga in error branch.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 1ba914cfeef5 -r 8539968eab94 sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c Mon Aug 27 07:48:30 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c Mon Aug 27 07:48:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeon_device.c,v 1.5 2018/08/27 07:44:12 riastradh Exp $ */
+/* $NetBSD: radeon_device.c,v 1.6 2018/08/27 07:48:40 riastradh Exp $ */
/*
* Copyright 2008 Advanced Micro Devices, Inc.
@@ -28,7 +28,7 @@
* Jerome Glisse
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_device.c,v 1.5 2018/08/27 07:44:12 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_device.c,v 1.6 2018/08/27 07:48:40 riastradh Exp $");
#include <linux/console.h>
#include <linux/slab.h>
@@ -1697,8 +1697,10 @@
return 0;
failed:
+#ifndef __NetBSD__ /* XXX radeon vga */
if (runtime)
vga_switcheroo_fini_domain_pm_ops(rdev->dev);
+#endif
return r;
}
Home |
Main Index |
Thread Index |
Old Index