From: Hauke Mehrtens Date: Sun, 13 Jun 2010 19:56:49 +0000 (+0200) Subject: compat: backport sdio_writeb_readb X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8eec28d8879cb15e9139e6c0cc90fc80af832db7;p=openwrt%2Fstaging%2Fblogic.git compat: backport sdio_writeb_readb This is needed by wl1251_sdio.c Use sdio_readb instead of sdio_writeb_readb as long as sdio_writeb_readb was not realy backported. Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.35.h b/include/linux/compat-2.6.35.h index 886815d5f69e..c6e7136c0526 100644 --- a/include/linux/compat-2.6.35.h +++ b/include/linux/compat-2.6.35.h @@ -23,6 +23,8 @@ static inline wait_queue_head_t *sk_sleep(struct sock *sk) return sk->sk_sleep; } +#define sdio_writeb_readb(func, write_byte, addr, err_ret) sdio_readb(func, addr, err_ret) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) */ #endif /* LINUX_26_35_COMPAT_H */