luckfox-pico-sdk/sysdrv/drv_ko/wifi/atbm/include/linux/pm_runtime.h
2023-08-08 20:36:47 +08:00

15 lines
323 B
C

#include <linux/version.h>
#ifndef __COMPAT_LINUX_PM_RUNTIME_H
#define __COMPAT_LINUX_PM_RUNTIME_H
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
#include_next <linux/pm_runtime.h>
#else
static inline void pm_runtime_enable(struct device *dev) {}
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)) */
#endif