]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rt2x00: rt2x00mmio: use rt2x00mmio prefix in function names
authorGabor Juhos <juhosg@openwrt.org>
Fri, 5 Apr 2013 06:27:00 +0000 (08:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Apr 2013 18:10:31 +0000 (14:10 -0400)
commit58959bdcb08e82b0212b27202e74744f3cebc4d6
treedb89dd6fadc679e72149e1e6732c03df508fb097
parentd72c728210fa803a21203360c0f40b32972d795a
rt2x00: rt2x00mmio: use rt2x00mmio prefix in function names

The functions in the rt2x00mmio module has been
moved from the rt2x00pci module. Each function
uses the rt2x00pci prefix which is a bit confusing.
Use the r2x000mmio prefix for each function to make
it consistent with the module name.

The renamed functions are used by several modules,
and updating the names in all of them would result
in a big patch. In order to keep the patch simple,
add compatibility defines for the old function
names. This allows to update the names in each
module separately. After each module is updated,
the defines can be removed.

The patch contains no functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mmio.c
drivers/net/wireless/rt2x00/rt2x00mmio.h