projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dbb468
)
compat: backport sdio_writeb_readb
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 13 Jun 2010 19:56:49 +0000
(21:56 +0200)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Sun, 13 Jun 2010 20:24:50 +0000
(13:24 -0700)
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 <hauke@hauke-m.de>
include/linux/compat-2.6.35.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-2.6.35.h
b/include/linux/compat-2.6.35.h
index 886815d5f69e398d15f47be4e4cf764ebbae20a8..c6e7136c0526dce838959f09f031d8013cef7c0c 100644
(file)
--- 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 */