From 8eec28d8879cb15e9139e6c0cc90fc80af832db7 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 13 Jun 2010 21:56:49 +0200 Subject: [PATCH] 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 --- include/linux/compat-2.6.35.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.30.2