diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-30 08:46:50 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-30 08:46:50 +0000 |
commit | c4231aad022de458b3ca0a8f1325509b0cd3a794 (patch) | |
tree | adf7d6365433d2618150d4923ad792626b9b9d92 /sys/dev/pci/drm | |
parent | 35b0edf0f1f6ddd04d0bb12993dfcf313300bd9c (diff) |
add pm_runtime_* stubs
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h index 7bab77d849e..051684db92d 100644 --- a/sys/dev/pci/drm/drm_linux.h +++ b/sys/dev/pci/drm/drm_linux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.h,v 1.74 2018/01/30 08:44:23 jsg Exp $ */ +/* $OpenBSD: drm_linux.h,v 1.75 2018/01/30 08:46:49 jsg Exp $ */ /* * Copyright (c) 2013, 2014, 2015 Mark Kettenis * Copyright (c) 2017 Martin Pieuchot @@ -1837,6 +1837,18 @@ power_supply_is_system_supplied(void) #define pm_qos_update_request(x, y) #define pm_qos_remove_request(x) +#define pm_runtime_mark_last_busy(x) +#define pm_runtime_use_autosuspend(x) +#define pm_runtime_put_autosuspend(x) +#define pm_runtime_set_autosuspend_delay(x, y) +#define pm_runtime_set_active(x) +#define pm_runtime_allow(x) + +static inline int +pm_runtime_get_sync(struct device *dev) +{ + return 0; +} #define _U 0x01 #define _L 0x02 |