]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: change pci id table driver data to a structure pointer
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 22 Oct 2009 18:20:47 +0000 (20:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Nov 2009 21:54:36 +0000 (16:54 -0500)
commitaf7384bcd34fbd372c861966d634cb9d6201825c
treee7ac395f6c874e5ab43498944a83344ffd8d47aa
parent9e3d03295d76df4a4aaaaedcb27935b0c8367fac
mwl8k: change pci id table driver data to a structure pointer

To prepare for adding support for more device types, introduce a
new structure, mwl8k_device_info, where per-device information can
be stored, and change the pci id table driver data from an integer
indicating only the part number to a pointer to a mwl8k_device_info
structure.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c