rt2x00: Use pci_is_pcie()
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 21 Dec 2010 01:01:53 +0000 (02:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:26 +0000 (15:43 -0500)
commit2cdb9a42f3b4c97088ea0768dbee55ee8863f233
tree604f613050cf6ca0e1d8ff5263639fb3689966ed
parent6b740aaa005474a7b135d3c554b9295c73eaab95
rt2x00: Use pci_is_pcie()

Use function pci_is_pcie() instead of accessing struct member directly.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00pci.c