]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Move driver callback functions into the ops structure
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 11 Jul 2010 10:31:23 +0000 (12:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:37 +0000 (16:05 -0400)
commit24a99fa1f61d3f1bc4382e7187a5953d56a60b8c
tree7cdac8397bc37d7c6daa85d975e88bb828e5fde4
parentd46a6fa6373cdae25f3d71fbfce8aff7de191cec
rt2x00: Move driver callback functions into the ops structure

All callback functions are gathered in rt2x00dev->ops except
for the callback functions which are used in rt2800lib to
acces rt2800pci/usb.

Move the priv pointer from rt2x00dev to rt2x00dev->ops and
rename it to drv to make it obvious that it is the driver callback
structure.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.h
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt2x00.h