diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-11 17:26:57 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:47 +0200 |
commit | 836ede505aedce22f2e461bf6f22377b43d80346 (patch) | |
tree | c9dc99d94d8210b1e4faff624bc114a04438274d /backport/backport-include/linux/device.h | |
parent | 069728fae60cdde7fa0f3b584c6a3f7430b4c9e3 (diff) |
backports: dissolve compat-2.6.36.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/device.h')
-rw-r--r-- | backport/backport-include/linux/device.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backport/backport-include/linux/device.h b/backport/backport-include/linux/device.h index 54940ed6..cb760990 100644 --- a/backport/backport-include/linux/device.h +++ b/backport/backport-include/linux/device.h @@ -86,4 +86,11 @@ do { \ #endif /* dynamic debug */ #endif /* 2.6.27 <= version <= 3.5 */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36) +#define device_rename(dev, new_name) device_rename(dev, (char *)new_name) + +/* this belongs into pm_wakeup.h but that isn't included directly */ +static inline void pm_wakeup_event(struct device *dev, unsigned int msec) {} +#endif + #endif /* __BACKPORT_DEVICE_H */ |