ath5k: Use pci_is_pcie()
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 21 Dec 2010 01:01:54 +0000 (02:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:26 +0000 (15:43 -0500)
commite98b06b09be0fc459806aa4d2c301cfaf268c570
treeed3a19111d8f10dd74e6f97d4eb74b003bfb5d6f
parent2cdb9a42f3b4c97088ea0768dbee55ee8863f233
ath5k: 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/ath5k/attach.c
drivers/net/wireless/ath/ath5k/reset.c