]> git.baikalelectronics.ru Git - kernel.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)
commit4b428806eea3cb1a2f263a7207d16811cf52d6fb
treedb89dd6fadc679e72149e1e6732c03df508fb097
parentc76a634dedb82e71fe9bcaa240d6276225e2e975
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