summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-06-30 10:53:03 +0000
committerjsg <jsg@openbsd.org>2020-06-30 10:53:03 +0000
commit977aa752b7acaaaf6da586b844862ff28c5bc3b5 (patch)
treeaff5bd57c1edf51e285bb5e2b4b222bf475dd857
parentWhen a transfer times out, the TRB should be aborted, too. But still (diff)
downloadwireguard-openbsd-977aa752b7acaaaf6da586b844862ff28c5bc3b5.tar.xz
wireguard-openbsd-977aa752b7acaaaf6da586b844862ff28c5bc3b5.zip
don't warn on entry to drm_fb_helper_set_suspend_unlocked()
we don't have a console lock like linux does
-rw-r--r--sys/dev/pci/drm/drm_fb_helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_fb_helper.c b/sys/dev/pci/drm/drm_fb_helper.c
index 7889037690e..3763157e8b3 100644
--- a/sys/dev/pci/drm/drm_fb_helper.c
+++ b/sys/dev/pci/drm/drm_fb_helper.c
@@ -843,8 +843,7 @@ EXPORT_SYMBOL(drm_fb_helper_set_suspend);
void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper,
bool suspend)
{
- STUB();
-#ifdef notyet
+#ifdef __linux__
if (!fb_helper || !fb_helper->fbdev)
return;