summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include/linux
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-11-17 10:01:42 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-11-17 10:01:42 +0000
commita1cc3c4a1d2b95c5f3db31af65488224c4830684 (patch)
tree35b170abd0e7248e8a8a0c9ddbee6704b0bcc54b /sys/dev/pci/drm/include/linux
parent87c16c992d34427618bbcc3a708d3382559fdc3a (diff)
remove setup_timer() interface linux removed in 2017
Diffstat (limited to 'sys/dev/pci/drm/include/linux')
-rw-r--r--sys/dev/pci/drm/include/linux/timer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/include/linux/timer.h b/sys/dev/pci/drm/include/linux/timer.h
index 70e5fb945fe..5fcd73ac696 100644
--- a/sys/dev/pci/drm/include/linux/timer.h
+++ b/sys/dev/pci/drm/include/linux/timer.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: timer.h,v 1.3 2020/07/20 03:15:56 jsg Exp $ */
+/* $OpenBSD: timer.h,v 1.4 2020/11/17 10:01:41 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
@@ -24,7 +24,6 @@
#include <sys/kernel.h>
#include <linux/ktime.h>
-#define setup_timer(x, y, z) timeout_set((x), (void (*)(void *))(y), (void *)(z))
#define mod_timer(x, y) timeout_add((x), (y - jiffies))
#define mod_timer_pinned(x, y) timeout_add((x), (y - jiffies))
#define del_timer_sync(x) timeout_del_barrier((x))