projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98b06b
)
ath9k: Use pci_is_pcie()
author
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 21 Dec 2010 01:01:55 +0000
(
02:01
+0100)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:27 +0000
(15:43 -0500)
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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/pci.c
b/drivers/net/wireless/ath/ath9k/pci.c
index
1056333
..
545aa1c
100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/pci.c
+++ b/
drivers/net/wireless/ath/ath9k/pci.c
@@
-96,7
+96,7
@@
static void ath_pci_bt_coex_prep(struct ath_common *common)
struct pci_dev *pdev = to_pci_dev(sc->dev);
u8 aspm;
- if (!p
dev->is_pcie
)
+ if (!p
ci_is_pcie(pdev)
)
return;
pci_read_config_byte(pdev, ATH_PCIE_CAP_LINK_CTRL, &aspm);