ath9k: Use pci_is_pcie()
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 21 Dec 2010 01:01:55 +0000 (02:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:27 +0000 (15:43 -0500)
commite40b5faabc34f61fdf17b40d2e31837461ddc467
tree21f4e6b8b22d121752f867cd9468febb1c7c8ee0
parente98b06b09be0fc459806aa4d2c301cfaf268c570
ath9k: Use pci_is_pcie()

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

CC: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/pci.c