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)
commite796643eaf0889c346e6b69c5afe777c327b1919
tree7cdac8397bc37d7c6daa85d975e88bb828e5fde4
parentf31c9a8c1380e20e95d06925f2e42baf61af4db7
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