diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-04-17 19:44:51 +0000 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 17:16:03 -0600 |
commit | c389874805a6849e3e347fc0e13fa170d80840c1 (patch) | |
tree | 11508f50085603a0a9f9f14b10046f9940775f55 /drivers/pcmcia/soc_common.c | |
parent | 7e0de022680f7899d33141f3ab5724a704f5669a (diff) |
viafb: package often used basic io functions
This patch puts redesigned versions of the basic io functions that
are used overall the driver in an extra header. It is prefixed with
via_ as no framebuffer dependend stuff is in there. They were inlined
as they are really simple which reduced the module size about 2.5%.
The parameter order of read and write was fixed as it really doesn't
make sense to change the order as they are parts of the same address
and not source and destination.
Wrapper which use the new functions were added to hw.h to replicate
the old interface and avoid changing all old code.
[jc: added one comment]
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/pcmcia/soc_common.c')
0 files changed, 0 insertions, 0 deletions