From: Hauke Mehrtens Date: Thu, 7 Apr 2011 14:39:18 +0000 (+0200) Subject: compat: remove sdio_set_host_pm_flags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be5674a947b35ae18938d63402fce4aefcca4800;p=openwrt%2Fstaging%2Fblogic.git compat: remove sdio_set_host_pm_flags Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.34.h b/include/linux/compat-2.6.34.h index 93fc4ef7edf8..f6ffde06d06e 100644 --- a/include/linux/compat-2.6.34.h +++ b/include/linux/compat-2.6.34.h @@ -243,6 +243,9 @@ static inline int usb_enable_autosuspend(struct usb_device *udev) static inline int usb_disable_autosuspend(struct usb_device *udev) { return 0; } +#define MMC_PM_KEEP_POWER (1 << 0) /* preserve card power during suspend */ +#define sdio_set_host_pm_flags(a, b) 0 + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */ #endif /* LINUX_26_34_COMPAT_H */