]> err.no Git - linux-2.6/commit
sh: add writesb(), readsb(), writesw() and readsw() to io.h
authorMagnus Damm <damm@igel.co.jp>
Mon, 10 Sep 2007 03:08:42 +0000 (12:08 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:52 +0000 (11:57 +0900)
commitda6b003adc73011fd441a89c30d4f896667e24ba
tree8e31224884e3b01bb6d479329090f5e2e7758e0a
parent9d4c82625914c31fd21e341765d476784cc74f14
sh: add writesb(), readsb(), writesw() and readsw() to io.h

This patch adds inline versions of writesb(), readsb(), writesw() and
readsw() to include/asm-sh/io.h. Stolen from include/asm-avr32/io.h.

These functions are needed to compile certain device drivers such as
ax88796.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/io.h